diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-12-12 02:53:21 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-12-12 02:53:21 -0500 |
commit | 70b3590f639f4e753e6f556209cb89b812879402 (patch) | |
tree | ab665cedbe9b32f87d3917fd6282b02766f22208 | |
parent | bd8f27ba828efa2538bc86010f299a635e79249b (diff) |
reset: hi6220: fix modular build
We need to include <linux/module.h> to build the driver as a loadable
module:
drivers/reset/hisilicon/hi6220_reset.c:108:1: warning: data definition has no type or storage class
postcore_initcall(hi6220_reset_init);
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | drivers/reset/hisilicon/hi6220_reset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/reset/hisilicon/hi6220_reset.c b/drivers/reset/hisilicon/hi6220_reset.c index d17c910e8b63..7787a9b1cc67 100644 --- a/drivers/reset/hisilicon/hi6220_reset.c +++ b/drivers/reset/hisilicon/hi6220_reset.c | |||
@@ -12,6 +12,7 @@ | |||
12 | 12 | ||
13 | #include <linux/io.h> | 13 | #include <linux/io.h> |
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/module.h> | ||
15 | #include <linux/bitops.h> | 16 | #include <linux/bitops.h> |
16 | #include <linux/of.h> | 17 | #include <linux/of.h> |
17 | #include <linux/reset-controller.h> | 18 | #include <linux/reset-controller.h> |