arm: mach-omap2: rx51: clean up dummy onenand init
authorAaro Koskinen <Aaro.Koskinen@nokia.com>
Thu, 2 Dec 2010 15:51:24 +0000 (15:51 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 3 Dec 2010 01:06:45 +0000 (17:06 -0800)
commit5403187f83c12c6f4c03547e0cc05bac0310be7b
tree80d6792223da89c00db4b51afb100280dfc19e7b
parenta1a92e6fccadbba1846a081f21d0c12a10addd56
arm: mach-omap2: rx51: clean up dummy onenand init

When OneNAND support is disabled, the platform code defines NULL
board_onenand_data and empty init function for us. By utilizing this we
can avoid cluttering board files with dummy definitions/wrappers.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-rx51-peripherals.c