Kaynağa Gözat

[PATCH] no longer mark MTD_OBSOLETE_CHIPS as BROKEN

This patch removes the wrong dependency of MTD_OBSOLETE_CHIPS on BROKEN and
marks the non-compiling MTD_AMDSTD and MTD_JEDEC drivers as BROKEN.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk 19 yıl önce
ebeveyn
işleme
3001aa826e
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      drivers/mtd/chips/Kconfig

+ 3 - 3
drivers/mtd/chips/Kconfig

@@ -259,7 +259,7 @@ config MTD_ABSENT
 	  with this driver will return -ENODEV upon access.
 	  with this driver will return -ENODEV upon access.
 
 
 config MTD_OBSOLETE_CHIPS
 config MTD_OBSOLETE_CHIPS
-	depends on MTD && BROKEN
+	depends on MTD
 	bool "Older (theoretically obsoleted now) drivers for non-CFI chips"
 	bool "Older (theoretically obsoleted now) drivers for non-CFI chips"
 	help
 	help
 	  This option does not enable any code directly, but will allow you to
 	  This option does not enable any code directly, but will allow you to
@@ -272,7 +272,7 @@ config MTD_OBSOLETE_CHIPS
 
 
 config MTD_AMDSTD
 config MTD_AMDSTD
 	tristate "AMD compatible flash chip support (non-CFI)"
 	tristate "AMD compatible flash chip support (non-CFI)"
-	depends on MTD && MTD_OBSOLETE_CHIPS
+	depends on MTD && MTD_OBSOLETE_CHIPS && BROKEN
 	help
 	help
 	  This option enables support for flash chips using AMD-compatible
 	  This option enables support for flash chips using AMD-compatible
 	  commands, including some which are not CFI-compatible and hence
 	  commands, including some which are not CFI-compatible and hence
@@ -290,7 +290,7 @@ config MTD_SHARP
 
 
 config MTD_JEDEC
 config MTD_JEDEC
 	tristate "JEDEC device support"
 	tristate "JEDEC device support"
-	depends on MTD && MTD_OBSOLETE_CHIPS
+	depends on MTD && MTD_OBSOLETE_CHIPS && BROKEN
 	help
 	help
 	  Enable older older JEDEC flash interface devices for self
 	  Enable older older JEDEC flash interface devices for self
 	  programming flash.  It is commonly used in older AMD chips.  It is
 	  programming flash.  It is commonly used in older AMD chips.  It is