diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-omap/gpio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index df0ff0fd881a..9dc6d3617bdb 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
@@ -1178,6 +1178,8 @@ static struct platform_device omap_mpuio_device = { | |||
1178 | 1178 | ||
1179 | static inline void mpuio_init(void) | 1179 | static inline void mpuio_init(void) |
1180 | { | 1180 | { |
1181 | platform_set_drvdata(&omap_mpuio_device, &gpio_bank_1610[0]); | ||
1182 | |||
1181 | if (platform_driver_register(&omap_mpuio_driver) == 0) | 1183 | if (platform_driver_register(&omap_mpuio_driver) == 0) |
1182 | (void) platform_device_register(&omap_mpuio_device); | 1184 | (void) platform_device_register(&omap_mpuio_device); |
1183 | } | 1185 | } |