Skip to content

Commit

Permalink
omap: Fix H4 init_irq to not call h4_init_flash
Browse files Browse the repository at this point in the history
There should be no reason to call h4_init_flash this
early. It causes problems as things are not yet initialized.

Tested-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Mar 10, 2011
1 parent 0dde52a commit 4292435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/board-h4.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ static void __init omap_h4_init_early(void)
static void __init omap_h4_init_irq(void)
{
omap_init_irq();
h4_init_flash();
}

static struct at24_platform_data m24c01 = {
Expand Down Expand Up @@ -372,6 +371,7 @@ static void __init omap_h4_init(void)
platform_add_devices(h4_devices, ARRAY_SIZE(h4_devices));
omap2_usbfs_init(&h4_usb_config);
omap_serial_init();
h4_init_flash();
}

static void __init omap_h4_map_io(void)
Expand Down

0 comments on commit 4292435

Please sign in to comment.