drivers/mtd/nand: Move conditional compilation to Makefile

rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD
2008-08-13 01:40:43 +02:00
parent 4fb09b8192
commit cc4a0ceeac
48 changed files with 62 additions and 89 deletions

View File

@@ -28,7 +28,7 @@
#ifndef __LINUX_MTD_NAND_IDS_H
#define __LINUX_MTD_NAND_IDS_H
#ifndef CFG_NAND_LEGACY
#ifndef CONFIG_NAND_LEGACY
#error This module is for the legacy NAND support
#endif

View File

@@ -36,7 +36,7 @@
#ifndef __LINUX_MTD_NAND_LEGACY_H
#define __LINUX_MTD_NAND_LEGACY_H
#ifndef CFG_NAND_LEGACY
#ifndef CONFIG_NAND_LEGACY
#error This module is for the legacy NAND support
#endif