summaryrefslogtreecommitdiff
path: root/samples/kobject/Makefile
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-11-27 11:28:26 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 20:40:41 -0800
commit40efcb05f213180b7cc8fd8d963377305f236c28 (patch)
tree84e74d8fe64f84b52b1023c963ebe215276d9f8e /samples/kobject/Makefile
parent36d78d6c5b50ba945bbdee9bf1d8daac00154e02 (diff)
downloadlinux-3.10-40efcb05f213180b7cc8fd8d963377305f236c28.tar.gz
linux-3.10-40efcb05f213180b7cc8fd8d963377305f236c28.tar.bz2
linux-3.10-40efcb05f213180b7cc8fd8d963377305f236c28.zip
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/kobject/Makefile')
-rw-r--r--samples/kobject/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/kobject/Makefile b/samples/kobject/Makefile
new file mode 100644
index 00000000000..cce16e99fde
--- /dev/null
+++ b/samples/kobject/Makefile
@@ -0,0 +1 @@
+obj-$(CONFIG_SAMPLE_KOBJECT) += kobject-example.o