Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: u300: Remove clk.h include

Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver. Also add in slab.h because without clkdev.h
compilation of this file would fail.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

+1 -1
+1 -1
drivers/clk/clk-u300.c
··· 5 5 * Author: Linus Walleij <linus.walleij@stericsson.com> 6 6 * Author: Jonas Aaberg <jonas.aberg@stericsson.com> 7 7 */ 8 - #include <linux/clk.h> 9 8 #include <linux/clkdev.h> 9 + #include <linux/slab.h> 10 10 #include <linux/err.h> 11 11 #include <linux/io.h> 12 12 #include <linux/clk-provider.h>