summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-u300.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-06-19 15:00:46 -0700
committerStephen Boyd <sboyd@codeaurora.org>2015-07-20 10:53:04 -0700
commite26684701388db6406e640ad05cbe84e5232ddb7 (patch)
tree172c513367469b688a035c81211c0c697f5c0a34 /drivers/clk/clk-u300.c
parente873473cbcb570360889415e4a5680e09fe6d031 (diff)
downloadop-kernel-dev-e26684701388db6406e640ad05cbe84e5232ddb7.zip
op-kernel-dev-e26684701388db6406e640ad05cbe84e5232ddb7.tar.gz
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 18bf5e5..95d1742 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>
OpenPOWER on IntegriCloud