diff options
author | Prabhakar Kushwaha <prabhakar@freescale.com> | 2013-08-16 14:52:26 +0530 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2013-08-20 09:57:51 -0700 |
commit | 997399fa42b098d0a4163e1a3461bd9a34aab8ac (patch) | |
tree | c3eef2281fe034340db0cff3260c2da7adb83c7f /include | |
parent | 5d97fe2a0421247f6b89591c666d7aa94d40beb0 (diff) | |
download | u-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 'include')
-rw-r--r-- | include/e500.h | 16 | ||||
-rw-r--r-- | include/mpc86xx.h | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/include/e500.h b/include/e500.h index 0ff8e89..0c24326 100644 --- a/include/e500.h +++ b/include/e500.h @@ -10,19 +10,19 @@ typedef struct { - unsigned long freqProcessor[CONFIG_MAX_CPUS]; - unsigned long freqSystemBus; - unsigned long freqDDRBus; - unsigned long freqLocalBus; - unsigned long freqQE; + unsigned long freq_processor[CONFIG_MAX_CPUS]; + unsigned long freq_systembus; + unsigned long freq_ddrbus; + unsigned long freq_localbus; + unsigned long freq_qe; #ifdef CONFIG_SYS_DPAA_FMAN - unsigned long freqFMan[CONFIG_SYS_NUM_FMAN]; + unsigned long freq_fman[CONFIG_SYS_NUM_FMAN]; #endif #ifdef CONFIG_SYS_DPAA_QBMAN - unsigned long freqQMAN; + unsigned long freq_qman; #endif #ifdef CONFIG_SYS_DPAA_PME - unsigned long freqPME; + unsigned long freq_pme; #endif } MPC85xx_SYS_INFO; diff --git a/include/mpc86xx.h b/include/mpc86xx.h index 31e83f2..9fe4748 100644 --- a/include/mpc86xx.h +++ b/include/mpc86xx.h @@ -41,9 +41,9 @@ #ifndef __ASSEMBLY__ typedef struct { - unsigned long freqProcessor; - unsigned long freqSystemBus; - unsigned long freqLocalBus; + unsigned long freq_processor; + unsigned long freq_systembus; + unsigned long freq_localbus; } MPC86xx_SYS_INFO; #define l1icache_enable icache_enable |