Commit 5e963864 authored by Olof Johansson's avatar Olof Johansson

Merge branch 'imx-fixes' of git://git.pengutronix.de/git/imx/linux-2.6 into fixes

* 'imx-fixes' of git://git.pengutronix.de/git/imx/linux-2.6:
  arch/arm/mach-imx/mach-mx53_ard.c: add missing iounmap
  ARM: imx: iomux-v1.h: Fix build error due to __init annotation
parents d8c4cd74 945f82f2
...@@ -189,8 +189,10 @@ static int weim_cs_config(void) ...@@ -189,8 +189,10 @@ static int weim_cs_config(void)
return -ENOMEM; return -ENOMEM;
iomuxc_base = ioremap(MX53_IOMUXC_BASE_ADDR, SZ_4K); iomuxc_base = ioremap(MX53_IOMUXC_BASE_ADDR, SZ_4K);
if (!iomuxc_base) if (!iomuxc_base) {
iounmap(weim_base);
return -ENOMEM; return -ENOMEM;
}
/* CS1 timings for LAN9220 */ /* CS1 timings for LAN9220 */
writel(0x20001, (weim_base + 0x18)); writel(0x20001, (weim_base + 0x18));
......
...@@ -96,6 +96,6 @@ extern int mxc_gpio_mode(int gpio_mode); ...@@ -96,6 +96,6 @@ extern int mxc_gpio_mode(int gpio_mode);
extern int mxc_gpio_setup_multiple_pins(const int *pin_list, unsigned count, extern int mxc_gpio_setup_multiple_pins(const int *pin_list, unsigned count,
const char *label); const char *label);
extern int __init imx_iomuxv1_init(void __iomem *base, int numports); extern int imx_iomuxv1_init(void __iomem *base, int numports);
#endif /* __MACH_IOMUX_V1_H__ */ #endif /* __MACH_IOMUX_V1_H__ */
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