aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2009-05-26 08:19:35 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-16 00:30:24 -0400
commitc4c01684349ac0821ad8c27de9516fe493f3361d (patch)
treeddc9c547711540b4bd51d3f6bfadfd3451bc60b9
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>
-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
26 This build trace event example modules. 26 This build trace event example modules.
27 27
28config SAMPLE_KOBJECT 28config SAMPLE_KOBJECT
29 tristate "Build kobject examples" 29 tristate "Build kobject examples -- loadable modules only"
30 depends on m
30 help 31 help
31 This config option will allow you to build a number of 32 This config option will allow you to build a number of
32 different kobject sample modules showing how to use kobjects, 33 different kobject sample modules showing how to use kobjects,