diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-27 14:28:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:41 -0500 |
commit | 40efcb05f213180b7cc8fd8d963377305f236c28 (patch) | |
tree | 84e74d8fe64f84b52b1023c963ebe215276d9f8e /samples/Kconfig | |
parent | 36d78d6c5b50ba945bbdee9bf1d8daac00154e02 (diff) |
kobject: add sample code for how to use kobjects in a simple manner.
This is a simple kobject module, showing how to use kobj_attributes in
basic and more complex ways.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r-- | samples/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/samples/Kconfig b/samples/Kconfig index 57bb2236952c..74d97cc24787 100644 --- a/samples/Kconfig +++ b/samples/Kconfig | |||
@@ -13,4 +13,14 @@ config SAMPLE_MARKERS | |||
13 | help | 13 | help |
14 | This build markers example modules. | 14 | This build markers example modules. |
15 | 15 | ||
16 | config SAMPLE_KOBJECT | ||
17 | tristate "Build kobject examples" | ||
18 | help | ||
19 | This config option will allow you to build a number of | ||
20 | different kobject sample modules showing how to use kobjects, | ||
21 | ksets, and ktypes properly. | ||
22 | |||
23 | If in doubt, say "N" here. | ||
24 | |||
16 | endif # SAMPLES | 25 | endif # SAMPLES |
26 | |||