diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-12-12 08:53:21 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-12-12 08:53:21 +0100 |
commit | 70b3590f639f4e753e6f556209cb89b812879402 (patch) | |
tree | ab665cedbe9b32f87d3917fd6282b02766f22208 /drivers/reset | |
parent | bd8f27ba828efa2538bc86010f299a635e79249b (diff) | |
download | linux-stable-70b3590f639f4e753e6f556209cb89b812879402.tar.gz linux-stable-70b3590f639f4e753e6f556209cb89b812879402.tar.bz2 linux-stable-70b3590f639f4e753e6f556209cb89b812879402.zip |
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.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 @@ #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> |