[MTD] Fix dependencies for MIPS MTD drivers
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed Apr 18 04:59:02 EDT 2007
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=873b6a230652803d1de480f5d3b802e4ffd0bcad
Commit: 873b6a230652803d1de480f5d3b802e4ffd0bcad
Parent: 19da63d1d2df393f8bf891d02e9960430f9178f8
Author: Ralf Baechle <ralf at linux-mips.org>
AuthorDate: Sat Mar 10 23:10:50 2007 +0000
Committer: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Apr 17 18:24:51 2007 +0100
[MTD] Fix dependencies for MIPS MTD drivers
o A dependency on the processor architecture does not make sense;
delete it.
o The Alchemy and MTX drivers requires MTD_PARTITIONS and MTD_CFI to work,
make those dependencies.
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
drivers/mtd/maps/Kconfig | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index 5e65172..8715879 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -273,13 +273,13 @@ config MTD_NETtel
config MTD_ALCHEMY
tristate "AMD Alchemy Pb1xxx/Db1xxx/RDK MTD support"
- depends on SOC_AU1X00
+ depends on SOC_AU1X00 && MTD_PARTITIONS && MTD_CFI
help
Flash memory access on AMD Alchemy Pb/Db/RDK Reference Boards
config MTD_MTX1
tristate "4G Systems MTX-1 Flash device"
- depends on MIPS && MIPS_MTX1
+ depends on MIPS_MTX1 && MTD_CFI
help
Flash memory access on 4G Systems MTX-1 Board. If you have one of
these boards and would like to use the flash chips on it, say 'Y'.
@@ -417,7 +417,7 @@ config MTD_TQM834x
config MTD_OCELOT
tristate "Momenco Ocelot boot flash device"
- depends on MIPS && MOMENCO_OCELOT
+ depends on MOMENCO_OCELOT
help
This enables access routines for the boot flash device and for the
NVRAM on the Momenco Ocelot board. If you have one of these boards
More information about the linux-mtd-cvs
mailing list