lkml.org 
[lkml]   [2005]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: inter-module-* removal.. small next step
On Mon, 31 January 2005 15:01:04 +0100, Adrian Bunk wrote:
>
> Your patch doesn't add a Kconfig entry for INTER_MODULE_CRAP.

Now it does, and it picked up dwmw2's suggestion as well.

Jörn

--
He who knows others is wise.
He who knows himself is enlightened.
-- Lao Tsu


Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de>
---
drivers/mtd/Kconfig | 4 ++++
drivers/mtd/chips/Kconfig | 1 +
drivers/mtd/devices/Kconfig | 1 +
kernel/Makefile | 3 ++-
4 files changed, 8 insertions(+), 1 deletion(-)
--- linux-2.6.10cow/drivers/mtd/Kconfig~inter_module 2004-09-04 22:59:02.000000000 +0200
+++ linux-2.6.10cow/drivers/mtd/Kconfig 2005-01-31 15:29:14.000000000 +0100
@@ -2,6 +2,10 @@

menu "Memory Technology Devices (MTD)"

+# This doens't actually belong here, but mtd is the last user, so...
+config INTER_MODULE_CRAP
+ boolean
+
config MTD
tristate "Memory Technology Device (MTD) support"
help
--- linux-2.6.10cow/drivers/mtd/chips/Kconfig~inter_module 2004-09-04 22:59:02.000000000 +0200
+++ linux-2.6.10cow/drivers/mtd/chips/Kconfig 2005-01-31 15:32:42.000000000 +0100
@@ -31,6 +31,7 @@ config MTD_GEN_PROBE
tristate
default m if MTD_CFI!=y && !MTD_INTELPROBE && MTD_JEDECPROBE!=y && (MTD_CFI=m || MTD_JEDECPROBE=m)
default y if MTD_CFI=y || MTD_INTELPROBE || MTD_JEDECPROBE=y
+ select INTER_MODULE_CRAP

config MTD_CFI_ADV_OPTIONS
bool "Flash chip driver advanced configuration options"
--- linux-2.6.10cow/drivers/mtd/devices/Kconfig~inter_module 2005-01-11 20:48:52.000000000 +0100
+++ linux-2.6.10cow/drivers/mtd/devices/Kconfig 2005-01-31 15:31:59.000000000 +0100
@@ -198,6 +198,7 @@ config MTD_DOCPROBE
tristate
default m if MTD_DOC2001!=y && MTD_DOC2000!=y && MTD_DOC2001PLUS!=y && (MTD_DOC2001=m || MTD_DOC2000=m || MTD_DOC2001PLUS=m)
default y if MTD_DOC2001=y || MTD_DOC2000=y || MTD_DOC2001PLUS=y
+ select INTER_MODULE_CRAP
help
This isn't a real config option; it's derived.

--- linux-2.6.10cow/kernel/Makefile~inter_module 2004-12-28 17:31:37.000000000 +0100
+++ linux-2.6.10cow/kernel/Makefile 2005-01-31 14:49:40.000000000 +0100
@@ -6,9 +6,10 @@ obj-y = sched.o fork.o exec_domain.o
exit.o itimer.o time.o softirq.o resource.o \
sysctl.o capability.o ptrace.o timer.o user.o \
signal.o sys.o kmod.o workqueue.o pid.o \
- rcupdate.o intermodule.o extable.o params.o posix-timers.o \
+ rcupdate.o extable.o params.o posix-timers.o \
kthread.o wait.o kfifo.o sys_ni.o

+obj-$(CONFIG_INTER_MODULE_CRAP) += intermodule.o
obj-$(CONFIG_FUTEX) += futex.o
obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o
obj-$(CONFIG_SMP) += cpu.o spinlock.o
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.132 / U:0.672 seconds]
©2003-2014 Jasper Spaans. hosted at Digital Ocean