projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd8f27b
)
reset: hi6220: fix modular build
author
Arnd Bergmann
<arnd@arndb.de>
Sat, 12 Dec 2015 07:53:21 +0000
(08:53 +0100)
committer
Arnd Bergmann
<arnd@arndb.de>
Sat, 12 Dec 2015 07:53:21 +0000
(08:53 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/reset/hisilicon/hi6220_reset.c
b/drivers/reset/hisilicon/hi6220_reset.c
index d17c910e8b63f05d6070bb0d6a3fceb85f8361b3..7787a9b1cc67cba545669ad754b6b82ad9ec6217 100644
(file)
--- 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>