summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-u300.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-06-20 00:00:46 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-07-20 19:53:04 +0200
commite26684701388db6406e640ad05cbe84e5232ddb7 (patch)
tree172c513367469b688a035c81211c0c697f5c0a34 /drivers/clk/clk-u300.c
parentclk: twl6040: Remove clk.h include (diff)
downloadlinux-e26684701388db6406e640ad05cbe84e5232ddb7.tar.xz
linux-e26684701388db6406e640ad05cbe84e5232ddb7.zip
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>
Diffstat (limited to 'drivers/clk/clk-u300.c')
-rw-r--r--drivers/clk/clk-u300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-u300.c b/drivers/clk/clk-u300.c
index 18bf5e576b93..95d1742dac30 100644
--- a/drivers/clk/clk-u300.c
+++ b/drivers/clk/clk-u300.c
@@ -5,8 +5,8 @@
* Author: Linus Walleij <linus.walleij@stericsson.com>
* Author: Jonas Aaberg <jonas.aberg@stericsson.com>
*/
-#include <linux/clk.h>
#include <linux/clkdev.h>
+#include <linux/slab.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/clk-provider.h>