clk: imx: Include clk-provider.h instead of clk.h for i.MX8M SoCs clock driver
authorAnson Huang <Anson.Huang@nxp.com>
Wed, 12 Feb 2020 07:02:23 +0000 (15:02 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 17 Feb 2020 06:26:32 +0000 (14:26 +0800)
The i.MX8M SoCs clock driver are provider, NOT consumer, so clk-provider.h
should be used instead of clk.h.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx8mm.c
drivers/clk/imx/clk-imx8mn.c
drivers/clk/imx/clk-imx8mq.c

index 6dbdc1a1b5ebebe01f03a5f498f1e1b5c1a2d589..0cba5d4bd51edc160d0ec066d57fec8523108e60 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include <dt-bindings/clock/imx8mm-clock.h>
-#include <linux/clk.h>
+#include <linux/clk-provider.h>
 #include <linux/err.h>
 #include <linux/init.h>
 #include <linux/io.h>
index 7eea15a81838f1550c7c0fbadbcd8371f72bdf0e..6f4547fec368113fd6107c0ef00eecd3eecf5897 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #include <dt-bindings/clock/imx8mn-clock.h>
-#include <linux/clk.h>
+#include <linux/clk-provider.h>
 #include <linux/err.h>
 #include <linux/init.h>
 #include <linux/io.h>
index ac9452cd9a82e4d26c63909cb35ebec1e0745007..8b4b2fbe4a656fc0b1af82c947a444a1d7652352 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #include <dt-bindings/clock/imx8mq-clock.h>
-#include <linux/clk.h>
+#include <linux/clk-provider.h>
 #include <linux/err.h>
 #include <linux/io.h>
 #include <linux/module.h>