diff mbox series

usb: dwc3: qcom: Replace <linux/clk-provider.h> by <linux/of_clk.h>

Message ID 20200212101853.9349-1-geert+renesas@glider.be
State New
Headers show
Series usb: dwc3: qcom: Replace <linux/clk-provider.h> by <linux/of_clk.h> | expand

Commit Message

Geert Uytterhoeven Feb. 12, 2020, 10:18 a.m. UTC
The DWC3 USB driver is not a clock provider, and just needs to call
of_clk_get_parent_count().

Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/usb/dwc3/dwc3-qcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c
index 261af9e38dddf5cb..1dfd024cd06b11ff 100644
--- a/drivers/usb/dwc3/dwc3-qcom.c
+++ b/drivers/usb/dwc3/dwc3-qcom.c
@@ -9,7 +9,7 @@ 
 #include <linux/of.h>
 #include <linux/clk.h>
 #include <linux/irq.h>
-#include <linux/clk-provider.h>
+#include <linux/of_clk.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/extcon.h>