Commit fcf126d8 authored by David Brownell's avatar David Brownell Committed by Russell King

ARM: OMAP: fix OMAP1 mpuio suspend/resume oops

Fix oops in omap16xx mpuio suspend/resume code; field wasn't initialized
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 11a78b79
...@@ -1178,6 +1178,8 @@ static struct platform_device omap_mpuio_device = { ...@@ -1178,6 +1178,8 @@ static struct platform_device omap_mpuio_device = {
static inline void mpuio_init(void) static inline void mpuio_init(void)
{ {
platform_set_drvdata(&omap_mpuio_device, &gpio_bank_1610[0]);
if (platform_driver_register(&omap_mpuio_driver) == 0) if (platform_driver_register(&omap_mpuio_driver) == 0)
(void) platform_device_register(&omap_mpuio_device); (void) platform_device_register(&omap_mpuio_device);
} }
......
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