Skip to content

Commit

Permalink
ARM: OMAP: fix OMAP1 mpuio suspend/resume oops
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Brownell authored and Russell King committed May 5, 2007
1 parent 11a78b7 commit fcf126d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/plat-omap/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit fcf126d

Please sign in to comment.