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)
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>

No differences found