提交 b042e42f 编写于 作者: T Tobias Klauser 提交者: Maxime Ripard

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: NTobias Klauser <tklauser@distanz.ch>
Acked-by: NChen-Yu Tsai <wens@csie.org>
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
上级 763c5bd0
...@@ -15,6 +15,7 @@ ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册