summaryrefslogtreecommitdiffstats
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorMichal Marek2009-05-26 14:19:35 +0200
committerGreg Kroah-Hartman2009-06-16 06:30:24 +0200
commitc4c01684349ac0821ad8c27de9516fe493f3361d (patch)
treeddc9c547711540b4bd51d3f6bfadfd3451bc60b9 /samples/Kconfig
parentdriver core: synchronize device shutdown (diff)
downloadkernel-qcow2-linux-c4c01684349ac0821ad8c27de9516fe493f3361d.tar.gz
kernel-qcow2-linux-c4c01684349ac0821ad8c27de9516fe493f3361d.tar.xz
kernel-qcow2-linux-c4c01684349ac0821ad8c27de9516fe493f3361d.zip
kobject: samples: make SAMPLE_KOBJECT module-only
With SAMPLE_KOBJECT=y, it isn't even linked into the kernel image. Signed-off-by: Michal Marek <mmarek@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r--samples/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/Kconfig b/samples/Kconfig
index b75d28cba3f7..428b065ba695 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -26,7 +26,8 @@ config SAMPLE_TRACE_EVENTS
This build trace event example modules.
config SAMPLE_KOBJECT
- tristate "Build kobject examples"
+ tristate "Build kobject examples -- loadable modules only"
+ depends on m
help
This config option will allow you to build a number of
different kobject sample modules showing how to use kobjects,