Browse Source

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>
Michal Marek 16 years ago
parent
commit
c4c0168434
1 changed files with 2 additions and 1 deletions
  1. 2 1
      samples/Kconfig

+ 2 - 1
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,