Commit e7a895bf authored by Sascha Hauer's avatar Sascha Hauer Committed by Uwe Kleine-König

ARM: mx5/mx51_babbage: fix compiler warnings

Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent a0606562
...@@ -218,7 +218,7 @@ static int initialize_otg_port(struct platform_device *pdev) ...@@ -218,7 +218,7 @@ static int initialize_otg_port(struct platform_device *pdev)
{ {
u32 v; u32 v;
void __iomem *usb_base; void __iomem *usb_base;
u32 usbother_base; void __iomem *usbother_base;
usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K); usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K);
usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET; usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET;
...@@ -236,7 +236,7 @@ static int initialize_usbh1_port(struct platform_device *pdev) ...@@ -236,7 +236,7 @@ static int initialize_usbh1_port(struct platform_device *pdev)
{ {
u32 v; u32 v;
void __iomem *usb_base; void __iomem *usb_base;
u32 usbother_base; void __iomem *usbother_base;
usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K); usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K);
usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET; usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment