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>
This commit is contained in:
parent
a060656240
commit
e7a895bf64
1 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ static int initialize_otg_port(struct platform_device *pdev)
|
|||
{
|
||||
u32 v;
|
||||
void __iomem *usb_base;
|
||||
u32 usbother_base;
|
||||
void __iomem *usbother_base;
|
||||
|
||||
usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K);
|
||||
usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET;
|
||||
|
@ -236,7 +236,7 @@ static int initialize_usbh1_port(struct platform_device *pdev)
|
|||
{
|
||||
u32 v;
|
||||
void __iomem *usb_base;
|
||||
u32 usbother_base;
|
||||
void __iomem *usbother_base;
|
||||
|
||||
usb_base = ioremap(MX51_OTG_BASE_ADDR, SZ_4K);
|
||||
usbother_base = usb_base + MX5_USBOTHER_REGS_OFFSET;
|
||||
|
|
Loading…
Reference in a new issue