aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-06 23:34:48 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-09-04 04:40:37 -0400
commit0acfe530a2be9192861b84566625ba9b95703226 (patch)
tree4a9e72754ee9bbcd21e4316184817ccd5be404c9 /drivers/mtd/onenand
parentb0469ea785d12a6c025fa213293d608fc41405fe (diff)
mtd: onenand: select MTD_PARTITIONS
All of the onenand drivers depend on mtd partition support being compiled in, so just select it. Fixes up build breakage: drivers/built-in.o: In function `generic_onenand_remove': generic.c:(.devexit.text+0x80): undefined reference to `del_mtd_partitions' Reported-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r--drivers/mtd/onenand/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/Kconfig b/drivers/mtd/onenand/Kconfig
index 79fa79e8f8de..3a094d1bf8cc 100644
--- a/drivers/mtd/onenand/Kconfig
+++ b/drivers/mtd/onenand/Kconfig
@@ -5,6 +5,7 @@
5menuconfig MTD_ONENAND 5menuconfig MTD_ONENAND
6 tristate "OneNAND Device Support" 6 tristate "OneNAND Device Support"
7 depends on MTD 7 depends on MTD
8 select MTD_PARTITIONS
8 help 9 help
9 This enables support for accessing all type of OneNAND flash 10 This enables support for accessing all type of OneNAND flash
10 devices. For further information see 11 devices. For further information see
@@ -66,7 +67,6 @@ config MTD_ONENAND_2X_PROGRAM
66 67
67config MTD_ONENAND_SIM 68config MTD_ONENAND_SIM
68 tristate "OneNAND simulator support" 69 tristate "OneNAND simulator support"
69 depends on MTD_PARTITIONS
70 help 70 help
71 The simulator may simulate various OneNAND flash chips for the 71 The simulator may simulate various OneNAND flash chips for the
72 OneNAND MTD layer. 72 OneNAND MTD layer.