diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-20 01:00:46 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-20 21:11:26 +0300 |
commit | 9dfefe8c766ee2abc724e1e275ab0b32431fcd25 (patch) | |
tree | f73bb391deabf9c8c37c1e5d95070c1030c390fa /drivers/clk/sunxi/clk-usb.c | |
parent | d5f728acd90e864251139ffc59294b336cf4b382 (diff) | |
download | linux-9dfefe8c766ee2abc724e1e275ab0b32431fcd25.tar.xz |
clk: sunxi: Include clk.h and remove unused clkdev.h includes
This clock provider uses the consumer API, so include clk.h
explicitly. Also remove clkdev.h in files that aren't using it
and include slab.h when clkdev.h was being used to implicitly
include it.
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/sunxi/clk-usb.c')
-rw-r--r-- | drivers/clk/sunxi/clk-usb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/sunxi/clk-usb.c b/drivers/clk/sunxi/clk-usb.c index 3a25f9588e67..1a72cd672839 100644 --- a/drivers/clk/sunxi/clk-usb.c +++ b/drivers/clk/sunxi/clk-usb.c @@ -14,11 +14,12 @@ * GNU General Public License for more details. */ +#include <linux/clk.h> #include <linux/clk-provider.h> -#include <linux/clkdev.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/reset-controller.h> +#include <linux/slab.h> #include <linux/spinlock.h> |