mtd: onenand: select MTD_PARTITIONS
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Sep 4 04:59:05 EDT 2009
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=0acfe530a2be9192861b84566625ba9b95703226
Commit: 0acfe530a2be9192861b84566625ba9b95703226
Parent: b0469ea785d12a6c025fa213293d608fc41405fe
Author: Paul Mundt <lethal at linux-sh.org>
AuthorDate: Fri Aug 7 12:34:48 2009 +0900
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Sep 4 09:40:37 2009 +0100
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 at oracle.com>
Signed-off-by: Paul Mundt <lethal at linux-sh.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/onenand/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/onenand/Kconfig b/drivers/mtd/onenand/Kconfig
index 79fa79e..3a094d1 100644
--- a/drivers/mtd/onenand/Kconfig
+++ b/drivers/mtd/onenand/Kconfig
@@ -5,6 +5,7 @@
menuconfig MTD_ONENAND
tristate "OneNAND Device Support"
depends on MTD
+ select MTD_PARTITIONS
help
This enables support for accessing all type of OneNAND flash
devices. For further information see
@@ -66,7 +67,6 @@ config MTD_ONENAND_2X_PROGRAM
config MTD_ONENAND_SIM
tristate "OneNAND simulator support"
- depends on MTD_PARTITIONS
help
The simulator may simulate various OneNAND flash chips for the
OneNAND MTD layer.
More information about the linux-mtd-cvs
mailing list