Skip to contentSkip to conversation

PCI: xgene: Include clk.h instead of clk-private.h

PATCH In review Stephen Boyd 2 participants 2 messages Jan 22, 2015 – Jan 23, 2015 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI: xgene: Include clk.h instead of clk-private.h

This driver should be including clk.h as it's a clock consumer, not a clock provider that needs to register clocks early.

Cc Tanmay Inamdar <[email protected]>
---
 drivers/pci/host/pci-xgene.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/host/pci-xgene.c +1 -1
index b1d0596457c5..fdb348d3ccd3 100644
@@ -16,7 +16,7 @@
  * GNU General Public License for more details.
  *
  */
-#include <linux/clk-private.h>
+#include <linux/clk.h>
 #include <linux/delay.h>
 #include <linux/io.h>
 #include <linux/jiffies.h>
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
maintainer
#1 lore raw
Quoted 5 lines · Stephen Boyd

This driver should be including clk.h as it's a clock consumer, not a clock provider that needs to register clocks early.

Cc Tanmay Inamdar <[email protected]>

Applied provisionally to pci/host-xgene for v3.20, thanks!

I'm hoping for an ack from Tanmay.

Quoted 21 lines
---
 drivers/pci/host/pci-xgene.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/host/pci-xgene.c +1 -1
index b1d0596457c5..fdb348d3ccd3 100644
@@ -16,7 +16,7 @@
  * GNU General Public License for more details.
  *
  */
-#include <linux/clk-private.h>
+#include <linux/clk.h>
 #include <linux/delay.h>
 #include <linux/io.h>
 #include <linux/jiffies.h>
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project