Browse Source

clk: sunxi-ng: explicitly include linux/spinlock.h

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>
Tobias Klauser 8 years ago
parent
commit
b042e42fee
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/clk/sunxi-ng/ccu_reset.h

+ 1 - 0
drivers/clk/sunxi-ng/ccu_reset.h

@@ -15,6 +15,7 @@
 #define _CCU_RESET_H_
 #define _CCU_RESET_H_
 
 
 #include <linux/reset-controller.h>
 #include <linux/reset-controller.h>
+#include <linux/spinlock.h>
 
 
 struct ccu_reset_map {
 struct ccu_reset_map {
 	u16	reg;
 	u16	reg;