omap: fix the compile error if CONFIG_MTD_NAND_OMAP2 is notenabled
authorstanley.miao <stanley.miao@windriver.com>
Tue, 20 Apr 2010 06:33:26 +0000 (06:33 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 23 Apr 2010 22:35:11 +0000 (15:35 -0700)
commit562468bd697a88ad78a751823dc92f027f8c179c
tree663f18f08a672b2738fbe03e13854ad86d23d5af
parentc8334810db6e74019048cb3fc17c5e0b4d0c8c68
omap: fix the compile error if CONFIG_MTD_NAND_OMAP2 is notenabled

If CONFIG_MTD_NAND_OMAP2 is not enabled, there will be a compile error,
"gpmc_nand_init() is not defined". Add a inline noop function to fix it.

Signed-off-by: Stanley.Miao <stanley.miao@windriver.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/plat/nand.h