diff options
author | David Brownell <david-b@pacbell.net> | 2007-04-02 12:46:47 -0700 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-05 10:57:38 +0100 |
commit | fcf126d847c41461d4f034b11541296f3e15d0b2 (patch) | |
tree | fd0af3222bba83621a379f48099823ca8c3a1584 /arch/arm/plat-omap | |
parent | 11a78b7944963a8b052be46108d07a3ced9e2762 (diff) | |
download | blackbird-op-linux-fcf126d847c41461d4f034b11541296f3e15d0b2.tar.gz blackbird-op-linux-fcf126d847c41461d4f034b11541296f3e15d0b2.zip |
ARM: OMAP: fix OMAP1 mpuio suspend/resume oops
Fix oops in omap16xx mpuio suspend/resume code; field wasn't initialized
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-omap')
-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 = { static inline void mpuio_init(void) { + platform_set_drvdata(&omap_mpuio_device, &gpio_bank_1610[0]); + if (platform_driver_register(&omap_mpuio_driver) == 0) (void) platform_device_register(&omap_mpuio_device); } |