projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
763c5bd
)
clk: sunxi-ng: explicitly include linux/spinlock.h
author
Tobias Klauser
<tklauser@distanz.ch>
Mon, 15 May 2017 10:23:07 +0000
(12:23 +0200)
committer
Maxime Ripard
<maxime.ripard@free-electrons.com>
Wed, 7 Jun 2017 13:32:12 +0000
(15:32 +0200)
ccu_reset.h and ccu_reset.c use spinlock_t and associated functions but
rely on implict inclusion of linux/spinlock.h which means that changes
in other headers could break the build. Thus, add an explicit include.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu_reset.h
patch
|
blob
|
history
diff --git
a/drivers/clk/sunxi-ng/ccu_reset.h
b/drivers/clk/sunxi-ng/ccu_reset.h
index 36a4679210bd4dce76cec043097d29c749b1bbce..ff8f5ebca43575c20c78636c51d26304f10642b0 100644
(file)
--- a/
drivers/clk/sunxi-ng/ccu_reset.h
+++ b/
drivers/clk/sunxi-ng/ccu_reset.h
@@
-15,6
+15,7
@@
#define _CCU_RESET_H_
#include <linux/reset-controller.h>
+#include <linux/spinlock.h>
struct ccu_reset_map {
u16 reg;