diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-05-15 13:23:07 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-06-07 16:32:12 +0300 |
commit | b042e42feec495dd199525d3f88ffb323e5ec199 (patch) | |
tree | 1423928a14386318785992bfc4f02481a4827c01 /drivers/clk/sunxi-ng/ccu_reset.h | |
parent | 763c5bd045b1098be444142403398f1414fd42fb (diff) | |
download | linux-b042e42feec495dd199525d3f88ffb323e5ec199.tar.xz |
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>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu_reset.h')
-rw-r--r-- | drivers/clk/sunxi-ng/ccu_reset.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/sunxi-ng/ccu_reset.h b/drivers/clk/sunxi-ng/ccu_reset.h index 36a4679210bd..ff8f5ebca435 100644 --- 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; |