diff options
| author | Luca Clementi <[email protected]> | 2012-11-21 19:43:17 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-11-26 16:01:30 -0800 |
| commit | a3b41b7a3183b1f6a133e2c29502eae515f915e0 (patch) | |
| tree | 096c5d98f4af84251cab2f290d7e5000527d33e1 /tools/perf/scripts/python | |
| parent | fe5388c34c12ef55c9fa3bbb199c6857d69c08b3 (diff) | |
Staging: Android: logger: module_exit implementation
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 f4a75d2eb7b1e2206094b901be09adb31ba63681 Linux 3.7-rc6
Signed-off-by: Luca Clementi <[email protected]>
Cc: Brian Swetland <[email protected]>
Cc: Robert Love <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions