From: Paul Gortmaker Date: Sat, 2 May 2015 00:02:31 +0000 (-0400) Subject: sh: mach-highlander/psw.c is tristate and should use module.h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0bbad249a6a4934203b50d574f5d5f9f480b389e;p=linux-beck.git 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 Cc: linux-sh@vger.kernel.org Signed-off-by: Paul Gortmaker --- 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 -#include +#include #include #include #include