From: Tobias Klauser Date: Mon, 15 May 2017 10:23:07 +0000 (+0200) Subject: clk: sunxi-ng: explicitly include linux/spinlock.h X-Git-Tag: v4.13-rc1~117^2~34^2~18 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b042e42feec495dd199525d3f88ffb323e5ec199;p=karo-tx-linux.git 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 Acked-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- 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 +#include struct ccu_reset_map { u16 reg;