mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
a3b41b7a31
This patch creates the module_exit for the android logger
so that it can be loaded and unloaded as a module.
The android logger is already declared as a tristate in the
Kconfig but the module_exit function was missing.
device_initcall works also with modprobe since include/linux/init.h:
#define module_init(x) __initcall(x);
...
#define __initcall(fn) device_initcall(fn)
Tested against
|
||
---|---|---|
.. | ||
alarm-dev.c | ||
android_alarm.h | ||
ashmem.c | ||
ashmem.h | ||
binder_trace.h | ||
binder.c | ||
binder.h | ||
Kconfig | ||
logger.c | ||
logger.h | ||
lowmemorykiller.c | ||
Makefile | ||
ram_console.h | ||
timed_gpio.c | ||
timed_gpio.h | ||
timed_output.c | ||
timed_output.h | ||
TODO |