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>
This commit is contained in:
Michal Marek 2009-05-26 14:19:35 +02:00 committed by Greg Kroah-Hartman
parent 401097ea4b
commit c4c0168434

View file

@ -26,7 +26,8 @@ config SAMPLE_TRACE_EVENTS
This build trace event example modules. This build trace event example modules.
config SAMPLE_KOBJECT config SAMPLE_KOBJECT
tristate "Build kobject examples" tristate "Build kobject examples -- loadable modules only"
depends on m
help help
This config option will allow you to build a number of This config option will allow you to build a number of
different kobject sample modules showing how to use kobjects, different kobject sample modules showing how to use kobjects,