From: Ben Hutchings Date: Wed, 20 Jun 2012 01:31:11 +0000 (+0100) Subject: staging: zsmalloc: Finish conversion to a separate module X-Git-Tag: v3.6-rc1~100^2~655 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=069f101fa463351f528773d73b74e9b606b3f66a;p=pandora-kernel.git staging: zsmalloc: Finish conversion to a separate module ZSMALLOC is tristate, but the code has no MODULE_LICENSE and since it depends on GPL-only symbols it cannot be loaded as a module. This in turn breaks zram which now depends on it. I assume it's meant to be Dual BSD/GPL like the other z-stuff. There is also no module_exit, which will make it impossible to unload. Add the appropriate module_init and module_exit declarations suggested by comments. Reported-by: Christian Ohm References: http://bugs.debian.org/677273 Cc: stable@vger.kernel.org # v3.4 Signed-off-by: Ben Hutchings Reviewed-by: Jonathan Nieder Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed