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>
This commit is contained in:
Greg Kroah-Hartman
2007-11-27 11:28:26 -08:00
parent 36d78d6c5b
commit 40efcb05f2
4 changed files with 149 additions and 1 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
# Makefile for Linux samples code
obj-$(CONFIG_SAMPLES) += markers/
obj-$(CONFIG_SAMPLES) += markers/ kobject/