summaryrefslogtreecommitdiff
path: root/board/sbc8548/sbc8548.c
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 /board/sbc8548/sbc8548.c
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 'board/sbc8548/sbc8548.c')
-rw-r--r--board/sbc8548/sbc8548.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/sbc8548/sbc8548.c b/board/sbc8548/sbc8548.c
index dee8710..8378518 100644
--- a/board/sbc8548/sbc8548.c
+++ b/board/sbc8548/sbc8548.c
@@ -65,8 +65,8 @@ local_bus_init(void)
get_sys_info(&sysinfo);
- lbc_mhz = sysinfo.freqLocalBus / 1000000;
- clkdiv = sysinfo.freqSystemBus / sysinfo.freqLocalBus;
+ lbc_mhz = sysinfo.freq_localbus / 1000000;
+ clkdiv = sysinfo.freq_systembus / sysinfo.freq_localbus;
debug("LCRR=0x%x, CD=%d, MHz=%d\n", lcrr, clkdiv, lbc_mhz);