mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
36d78d6c5b
commit
40efcb05f2
4 changed files with 149 additions and 1 deletions
|
|
@ -13,4 +13,14 @@ config SAMPLE_MARKERS
|
|||
help
|
||||
This build markers example modules.
|
||||
|
||||
config SAMPLE_KOBJECT
|
||||
tristate "Build kobject examples"
|
||||
help
|
||||
This config option will allow you to build a number of
|
||||
different kobject sample modules showing how to use kobjects,
|
||||
ksets, and ktypes properly.
|
||||
|
||||
If in doubt, say "N" here.
|
||||
|
||||
endif # SAMPLES
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue