summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-08-31 20:27:32 -0700
committerStephen Boyd <sboyd@codeaurora.org>2015-09-02 17:07:10 -0700
commitac0e137ab0da80e8fc0db2027598e2f7f82a5a02 (patch)
tree210ea6f38c6a996c094943ee750931a6de8b1873 /drivers/clk
parentba30011577330b7e29ecb5916d89c6db9fbc5b3d (diff)
downloadblackbird-op-linux-ac0e137ab0da80e8fc0db2027598e2f7f82a5a02.tar.gz
blackbird-op-linux-ac0e137ab0da80e8fc0db2027598e2f7f82a5a02.zip
clk: h8s2678: Fix compile error
Recent cleanup removed some include files without checking if the cleaned up code still compiles. This results in the following compile error. drivers/clk/h8300/clk-h8s2678.c: In function ‘h8s2678_pll_clk_setup’: drivers/clk/h8300/clk-h8s2678.c:99:14: error: implicit declaration of function ‘kzalloc’ drivers/clk/h8300/clk-h8s2678.c:138:2: error: implicit declaration of function ‘kfree’ Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/h8300/clk-h8s2678.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/h8300/clk-h8s2678.c b/drivers/clk/h8300/clk-h8s2678.c
index 2a38eb4a2552..6cf38dc1c929 100644
--- a/drivers/clk/h8300/clk-h8s2678.c
+++ b/drivers/clk/h8300/clk-h8s2678.c
@@ -8,6 +8,7 @@
#include <linux/err.h>
#include <linux/device.h>
#include <linux/of_address.h>
+#include <linux/slab.h>
static DEFINE_SPINLOCK(clklock);
OpenPOWER on IntegriCloud