[PATCH] samples: make SAMPLE_KOBJECT module-only

From: Michal Marek
Date: Tue May 26 2009 - 08:19:44 EST


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

Signed-off-by: Michal Marek <mmarek@xxxxxxx>
---
samples/Kconfig | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/samples/Kconfig b/samples/Kconfig
index 4b02f5a..e00d2e1 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -20,7 +20,8 @@ config SAMPLE_TRACEPOINTS
This build tracepoints 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,
--
1.6.3
--
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/