mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 16:41:58 +00:00
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>
This commit is contained in:
parent
11a78b7944
commit
fcf126d847
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user