Message ID | alpine.DEB.2.00.0907241922450.2700@utopia.booyaka.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Tony Lindgren |
Headers | show |
diff --git a/arch/arm/mach-omap2/board-n800.c b/arch/arm/mach-omap2/board-n800.c index fee6c62..bea182d 100644 --- a/arch/arm/mach-omap2/board-n800.c +++ b/arch/arm/mach-omap2/board-n800.c @@ -566,7 +566,6 @@ static void __init nokia_n800_init(void) n800_ts_set_config(); tea5761_dev_init(); - board_onenand_init(); } void __init nokia_n800_map_io(void)
board-n800.c calls board_onenand_init() twice. The second time fails during boot with: kobject (c031e048): tried to init an initialized object, something is seriously wrong. with backtrace, etc. board_onenand_init() should not be called twice. Patch tested on N800. Problem originally found by Kalle Valo <kalle.valo@iki.fi> Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Kalle Valo <kalle.valo@iki.fi> --- arch/arm/mach-omap2/board-n800.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)