Преглед изворни кода

clk: mmp: add linux/clk.h includes

The common clk implementation for MMP broke without anyone noticing
when we stopped including linux/clk.h from the clk-provider header.

This did not show up in the defconfig builds because those use the
legacy MMP clk drivers, and it did not show up in my randconfig tests
either because I was testing with my mmp multiplatform series
applied, which at some point gained the fixup.

This fixes the three broken files.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 61ae76563ec3 ("clk: Remove clk.h from clk-provider.h")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Arnd Bergmann пре 10 година
родитељ
комит
c21ac06648
3 измењених фајлова са 3 додато и 0 уклоњено
  1. 1 0
      drivers/clk/mmp/clk-mmp2.c
  2. 1 0
      drivers/clk/mmp/clk-pxa168.c
  3. 1 0
      drivers/clk/mmp/clk-pxa910.c

+ 1 - 0
drivers/clk/mmp/clk-mmp2.c

@@ -9,6 +9,7 @@
  * warranty of any kind, whether express or implied.
  */
 
+#include <linux/clk.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/spinlock.h>

+ 1 - 0
drivers/clk/mmp/clk-pxa168.c

@@ -9,6 +9,7 @@
  * warranty of any kind, whether express or implied.
  */
 
+#include <linux/clk.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/spinlock.h>

+ 1 - 0
drivers/clk/mmp/clk-pxa910.c

@@ -9,6 +9,7 @@
  * warranty of any kind, whether express or implied.
  */
 
+#include <linux/clk.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/spinlock.h>