aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/board-mx51_babbage.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-08-19 05:37:31 -0400
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-09-27 06:53:02 -0400
commite7a895bf64e9360499d04b80fa33b0ad93546d44 (patch)
treeb7e90086a9457b09796e0c6b874bd045213d5246 /arch/arm/mach-mx5/board-mx51_babbage.c
parenta060656240af125b22b1c011944377ff4216ac3e (diff)
ARM: mx5/mx51_babbage: fix compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/board-mx51_babbage.c')
-rw-r--r--arch/arm/mach-mx5/board-mx51_babbage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/board-mx51_babbage.c b/arch/arm/mach-mx5/board-mx51_babbage.c
index 10d2f6bde172..3ef1214cb0d4 100644
--- a/arch/arm/mach-mx5/board-mx51_babbage.c
+++ b/arch/arm/mach-mx5/board-mx51_babbage.c
@@ -218,7 +218,7 @@ static int initialize_otg_port(struct platform_device *pdev)
218{ 218{
219 u32 v; 219 u32 v;
220 void __iomem *usb_base; 220 void __iomem *usb_base;
221 u32 usbother_base; 221 void __iomem *usbother_base;
222 222
223 usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K); 223 usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K);
224 usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET; 224 usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET;
@@ -236,7 +236,7 @@ static int initialize_usbh1_port(struct platform_device *pdev)
236{ 236{
237 u32 v; 237 u32 v;
238 void __iomem *usb_base; 238 void __iomem *usb_base;
239 u32 usbother_base; 239 void __iomem *usbother_base;
240 240
241 usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K); 241 usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K);
242 usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET; 242 usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET;