summaryrefslogtreecommitdiffstats
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
parent401097ea4b89846d66ac78f7f108d49c2e922d9c (diff)
downloadop-kernel-dev-c4c01684349ac0821ad8c27de9516fe493f3361d.zip
op-kernel-dev-c4c01684349ac0821ad8c27de9516fe493f3361d.tar.gz
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 b75d28c..428b065 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,
OpenPOWER on IntegriCloud