]> git.baikalelectronics.ru Git - kernel.git/commit
reset: hi6220: fix modular build
authorArnd Bergmann <arnd@arndb.de>
Sat, 12 Dec 2015 07:53:21 +0000 (08:53 +0100)
committerArnd Bergmann <arnd@arndb.de>
Sat, 12 Dec 2015 07:53:21 +0000 (08:53 +0100)
commit0372e6a6f8fa11d53778dc7c8c3010e544dc4800
treeab665cedbe9b32f87d3917fd6282b02766f22208
parentdb2d9775a45bf1f3bfbdf8316fc947c692b2ff1c
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>
drivers/reset/hisilicon/hi6220_reset.c