clk: sunxi-ng: explicitly include linux/spinlock.h
authorTobias Klauser <tklauser@distanz.ch>
Mon, 15 May 2017 10:23:07 +0000 (12:23 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 7 Jun 2017 13:32:12 +0000 (15:32 +0200)
commitb042e42feec495dd199525d3f88ffb323e5ec199
tree1423928a14386318785992bfc4f02481a4827c01
parent763c5bd045b1098be444142403398f1414fd42fb
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>
drivers/clk/sunxi-ng/ccu_reset.h