summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-12-12 07:53:21 (GMT)
committerArnd Bergmann <arnd@arndb.de>2015-12-12 07:53:21 (GMT)
commit70b3590f639f4e753e6f556209cb89b812879402 (patch)
treeab665cedbe9b32f87d3917fd6282b02766f22208
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>
-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 d17c910..7787a9b 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>