]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
clk: h8s2678: Fix compile error
authorGuenter Roeck <linux@roeck-us.net>
Tue, 1 Sep 2015 03:27:32 +0000 (20:27 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 3 Sep 2015 00:07:10 +0000 (17:07 -0700)
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>
drivers/clk/h8300/clk-h8s2678.c

index 2a38eb4a25527604ec0cbd867ab5d6fbfbc4b648..6cf38dc1c9291e843f140e187b5dd0f0aadf6d4b 100644 (file)
@@ -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);