2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/samples/kobject
Qinghuang Feng 7ec7fb3942 samples: mark {static|__init|__exit} for {init|exit} functions
None of these (init|exit) functions is called from other functions which
is outside the kernel module mechanism or kernel itself, so mark them as
{static|__init|__exit}.

Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-06 15:59:12 -08:00
..
kobject-example.c samples: mark {static|__init|__exit} for {init|exit} functions 2009-01-06 15:59:12 -08:00
kset-example.c samples: mark {static|__init|__exit} for {init|exit} functions 2009-01-06 15:59:12 -08:00
Makefile kobject: add sample code for how to use ksets/ktypes/kobjects 2008-01-24 20:40:41 -08:00