Skip to contentSkip to conversation

clk: mmp: add linux/clk.h includes

PATCH Applied Arnd Bergmann 2 participants 2 messages Nov 25, 2015 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Fixes 61ae76563ec3 ("clk: Remove clk.h from clk-provider.h")
drivers/clk/mmp/clk-mmp2.c +1 -0
index 09d2832fbd78..71fd29348f28 100644
@@ -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>
drivers/clk/mmp/clk-pxa168.c +1 -0
index 93e967c0f972..75244915df05 100644
@@ -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>
drivers/clk/mmp/clk-pxa910.c +1 -0
index 993abcdb32cc..37ba04ba1368 100644
@@ -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>
Applied
#1 lore raw
Quoted 15 lines · Arnd Bergmann

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.

Fixes 61ae76563ec3 ("clk: Remove clk.h from clk-provider.h")
drivers/clk/mmp/clk-mmp2.c +0 -0
index 09d2832fbd78..71fd29348f28 100644

drivers/clk/mmp/clk-mmp2.c

Quoted 1 line
drivers/clk/mmp/clk-mmp2.c +0 -1
--- a/drivers/clk/mmp/clk-mmp2.c

Applied to clk-fixes

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project