aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/davinci_nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/davinci_nand.c')
-rw-r--r--drivers/mtd/nand/davinci_nand.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
index 4034ac945041..81f7ecd23c60 100644
--- a/drivers/mtd/nand/davinci_nand.c
+++ b/drivers/mtd/nand/davinci_nand.c
@@ -38,19 +38,6 @@
38#include <asm/mach-types.h> 38#include <asm/mach-types.h>
39 39
40 40
41#ifdef CONFIG_MTD_PARTITIONS
42static inline int mtd_has_partitions(void) { return 1; }
43#else
44static inline int mtd_has_partitions(void) { return 0; }
45#endif
46
47#ifdef CONFIG_MTD_CMDLINE_PARTS
48static inline int mtd_has_cmdlinepart(void) { return 1; }
49#else
50static inline int mtd_has_cmdlinepart(void) { return 0; }
51#endif
52
53
54/* 41/*
55 * This is a device driver for the NAND flash controller found on the 42 * This is a device driver for the NAND flash controller found on the
56 * various DaVinci family chips. It handles up to four SoC chipselects, 43 * various DaVinci family chips. It handles up to four SoC chipselects,