summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2013-08-16 14:52:26 +0530
committerYork Sun <yorksun@freescale.com>2013-08-20 09:57:51 -0700
commit997399fa42b098d0a4163e1a3461bd9a34aab8ac (patch)
treec3eef2281fe034340db0cff3260c2da7adb83c7f /drivers
parent5d97fe2a0421247f6b89591c666d7aa94d40beb0 (diff)
downloadu-boot-imx-997399fa42b098d0a4163e1a3461bd9a34aab8ac.zip
u-boot-imx-997399fa42b098d0a4163e1a3461bd9a34aab8ac.tar.gz
u-boot-imx-997399fa42b098d0a4163e1a3461bd9a34aab8ac.tar.bz2
powerpc: Fix CamelCase checkpatch warnings
85xx, 86xx PowerPC folders have code variables with CamelCase naming conventions. because of this code checkpatch script generates "WARNING: Avoid CamelCase". Convert variables name to normal naming convention and modify board, driver files with updated the new structure. Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Acked-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/fsl_espi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/fsl_espi.c b/drivers/spi/fsl_espi.c
index c883d3c..7c84582 100644
--- a/drivers/spi/fsl_espi.c
+++ b/drivers/spi/fsl_espi.c
@@ -75,7 +75,7 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
/* Set eSPI BRG clock source */
get_sys_info(&sysinfo);
- spibrg = sysinfo.freqSystemBus / 2;
+ spibrg = sysinfo.freq_systembus / 2;
fsl->div16 = 0;
if ((spibrg / max_hz) > 32) {
fsl->div16 = ESPI_CSMODE_DIV16;