From: Luca Clementi Date: Thu, 22 Nov 2012 03:43:17 +0000 (-0800) Subject: Staging: Android: logger: module_exit implementation X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~160 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3b41b7a3183b1f6a133e2c29502eae515f915e0;p=pandora-kernel.git 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 Cc: Brian Swetland Cc: Robert Love Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed