From: Mathias Krause Date: Thu, 23 Oct 2014 21:20:37 +0000 (+0200) Subject: efivarfs: Allow unloading when build as module X-Git-Tag: omap-for-v3.19/fixes-rc1~156^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af5a29aee4d1e5b5fbfbaf45cb097f9c6257c7b8;p=pandora-kernel.git efivarfs: Allow unloading when build as module There is no need to keep the module loaded when it serves no function in case the EFI runtime services are disabled. Return an error in this case so loading the module will fail. Also supply a module_exit function to allow unloading the module. Last, but not least, set the owner of the file_system_type struct. Cc: Jeremy Kerr Cc: Matthew Garrett Signed-off-by: Mathias Krause Signed-off-by: Matt Fleming --- Reading git-diff-tree failed