summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2015-05-02 03:02:31 +0300
committerPaul Gortmaker <paul.gortmaker@windriver.com>2015-06-16 21:12:26 +0300
commit0bbad249a6a4934203b50d574f5d5f9f480b389e (patch)
treedf7c54cd9e5969bff116ff958378519df8a22dfc /arch
parentca1c8e93c37e5a5e27e6149cd3612eb2247e0e4a (diff)
downloadlinux-0bbad249a6a4934203b50d574f5d5f9f480b389e.tar.xz
sh: mach-highlander/psw.c is tristate and should use module.h
This file is controlled by a tristate Kconfig option, and hence needs to include module.h so that it can get module_init() once we relocate it from init.h into module.h in the future. Note that module_exit() appears to be missing from the driver, so it is questionable whether it would actually work for a removal and reload cycle if it was configured for a modular build. Cc: Paul Mundt <lethal@linux-sh.org> Cc: linux-sh@vger.kernel.org Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/boards/mach-highlander/psw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/mach-highlander/psw.c b/arch/sh/boards/mach-highlander/psw.c
index 522786318d36..40e2b585d488 100644
--- a/arch/sh/boards/mach-highlander/psw.c
+++ b/arch/sh/boards/mach-highlander/psw.c
@@ -10,7 +10,7 @@
* for more details.
*/
#include <linux/io.h>
-#include <linux/init.h>
+#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <mach/highlander.h>