[PATCH 14/64] kobject: samples: make SAMPLE_KOBJECT module-only

From: Greg Kroah-Hartman
Date: Tue Jun 16 2009 - 01:54:42 EST

From: Michal Marek <mmarek@xxxxxxx>

With SAMPLE_KOBJECT=y, it isn't even linked into the kernel image.

Signed-off-by: Michal Marek <mmarek@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
samples/Kconfig | 3 ++-
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.

- tristate "Build kobject examples"
+ tristate "Build kobject examples -- loadable modules only"
+ depends on m
This config option will allow you to build a number of
different kobject sample modules showing how to use kobjects,

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/