summaryrefslogtreecommitdiff
path: root/drivers/reset
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-12-12 10:53:21 +0300
committerArnd Bergmann <arnd@arndb.de>2015-12-12 10:53:21 +0300
commit70b3590f639f4e753e6f556209cb89b812879402 (patch)
treeab665cedbe9b32f87d3917fd6282b02766f22208 /drivers/reset
parentbd8f27ba828efa2538bc86010f299a635e79249b (diff)
downloadlinux-70b3590f639f4e753e6f556209cb89b812879402.tar.xz
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>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/hisilicon/hi6220_reset.c1
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 @@
#include <linux/io.h>
#include <linux/init.h>
+#include <linux/module.h>
#include <linux/bitops.h>
#include <linux/of.h>
#include <linux/reset-controller.h>