diff options
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/Makefile | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/diskonchip.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 945a954..89ccec2 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -26,14 +26,12 @@ include $(TOPDIR)/config.mk LIB := $(obj)libnand.a ifdef CONFIG_CMD_NAND -ifndef CONFIG_NAND_LEGACY COBJS-y += nand.o COBJS-y += nand_base.o COBJS-y += nand_bbt.o COBJS-y += nand_ecc.o COBJS-y += nand_ids.o COBJS-y += nand_util.o -endif COBJS-$(CONFIG_NAND_ATMEL) += atmel_nand.o COBJS-$(CONFIG_DRIVER_NAND_BFIN) += bfin_nand.o diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c index e9dc4d1..edf3a099 100644 --- a/drivers/mtd/nand/diskonchip.c +++ b/drivers/mtd/nand/diskonchip.c @@ -19,8 +19,6 @@ #include <common.h> -#if !defined(CONFIG_NAND_LEGACY) - #include <linux/kernel.h> #include <linux/init.h> #include <linux/sched.h> @@ -1779,4 +1777,3 @@ module_exit(cleanup_nanddoc); MODULE_LICENSE("GPL"); MODULE_AUTHOR("David Woodhouse <dwmw2@infradead.org>"); MODULE_DESCRIPTION("M-Systems DiskOnChip 2000, Millennium and Millennium Plus device driver\n"); -#endif |