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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user