]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23a998ab3dae1a0af087032654441a7122e69716
tree663f18f08a672b2738fbe03e13854ad86d23d5af
parent435ba9febb795ceb99ab7af13eece0f60b2ec7a7
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