mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
40efcb05f2
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>
26 lines
554 B
Text
26 lines
554 B
Text
# samples/Kconfig
|
|
|
|
menuconfig SAMPLES
|
|
bool "Sample kernel code"
|
|
help
|
|
You can build and test sample kernel code here.
|
|
|
|
if SAMPLES
|
|
|
|
config SAMPLE_MARKERS
|
|
tristate "Build markers examples -- loadable modules only"
|
|
depends on MARKERS && m
|
|
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
|
|
|