Commit 0bbad249 authored by Paul Gortmaker's avatar Paul Gortmaker

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: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent ca1c8e93
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* for more details. * for more details.
*/ */
#include <linux/io.h> #include <linux/io.h>
#include <linux/init.h> #include <linux/module.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <mach/highlander.h> #include <mach/highlander.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment