Messages in this thread Patch in this message | | | From | Geert Uytterhoeven <> | Subject | [PATCH] usb: dwc3: qcom: Replace <linux/clk-provider.h> by <linux/of_clk.h> | Date | Wed, 12 Feb 2020 11:18:53 +0100 |
| |
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 --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> -- 2.17.1
| |