1
0
Fork 0

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>
hifive-unleashed-5.1
Arnd Bergmann 2015-12-12 08:53:21 +01:00
parent bd8f27ba82
commit 70b3590f63
1 changed files with 1 additions and 0 deletions

View File

@ -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>