summaryrefslogtreecommitdiffstats
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2009-05-26 14:19:35 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-15 21:30:24 -0700
commitc4c01684349ac0821ad8c27de9516fe493f3361d (patch)
treeddc9c547711540b4bd51d3f6bfadfd3451bc60b9 /samples/Kconfig
parent401097ea4b89846d66ac78f7f108d49c2e922d9c (diff)
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 b75d28cba3f..428b065ba69 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,