summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-16 22:13:59 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-16 23:15:26 -0800
commitfd279197b1df6b46076991ca0e1f7faa8f3d8028 (patch)
tree0e841794a25a54e9288b86dd97d9d5ced8ca112c /drivers/mtd
parent3001aa826ea6a4de12b437188c2a095991d2d142 (diff)
downloadlinux-3.10-fd279197b1df6b46076991ca0e1f7faa8f3d8028.tar.gz
linux-3.10-fd279197b1df6b46076991ca0e1f7faa8f3d8028.tar.bz2
linux-3.10-fd279197b1df6b46076991ca0e1f7faa8f3d8028.zip
[PATCH] build kernel/intermodule.c only when required
Build kernel/intermodule.c only when required. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/chips/Kconfig1
-rw-r--r--drivers/mtd/devices/Kconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/chips/Kconfig b/drivers/mtd/chips/Kconfig
index 25f8217a671..effa0d7a73a 100644
--- a/drivers/mtd/chips/Kconfig
+++ b/drivers/mtd/chips/Kconfig
@@ -31,6 +31,7 @@ config MTD_JEDECPROBE
config MTD_GEN_PROBE
tristate
+ select OBSOLETE_INTERMODULE
config MTD_CFI_ADV_OPTIONS
bool "Flash chip driver advanced configuration options"
diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig
index 5038e90ceb1..dd628cb51e3 100644
--- a/drivers/mtd/devices/Kconfig
+++ b/drivers/mtd/devices/Kconfig
@@ -218,6 +218,7 @@ config MTD_DOC2001PLUS
config MTD_DOCPROBE
tristate
select MTD_DOCECC
+ select OBSOLETE_INTERMODULE
config MTD_DOCECC
tristate