OSDN Git Service

sh: mach-highlander/psw.c is tristate and should use module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 2 May 2015 00:02:31 +0000 (20:02 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 16 Jun 2015 18:12:26 +0000 (14:12 -0400)
commit0bbad249a6a4934203b50d574f5d5f9f480b389e
treedf7c54cd9e5969bff116ff958378519df8a22dfc
parentca1c8e93c37e5a5e27e6149cd3612eb2247e0e4a
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>
arch/sh/boards/mach-highlander/psw.c