clk: imx: Include clk-provider.h instead of clk.h for i.MX8M SoCs clock driver
Subsystems (3)
PATCH 1/1 clk: imx: Include clk-provider.h instead of clk.h for i.MX8M SoCs clock driver
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 <[email protected]>
--- drivers/clk/imx/clk-imx8mm.c | 2 +- drivers/clk/imx/clk-imx8mn.c | 2 +- drivers/clk/imx/clk-imx8mq.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/clk/imx/clk-imx8mm.c +1 -1
@@ -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>
drivers/clk/imx/clk-imx8mn.c +1 -1
@@ -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>
drivers/clk/imx/clk-imx8mq.c +1 -1
@@ -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>
Signature · 1 line
2.7.4
Quoting Anson Huang (2020-02-11 23:02:23)
Quoted 5 lines
The i.MX8M SoCs clock driver are provider, NOT consumer, so
clk-provider.hshould be used instead ofclk.h.Signed-off-by Anson Huang <[email protected]>---
Reviewed-by Stephen Boyd <[email protected]>
Shawn Guo
AppliedQuoted 4 lines · Anson Huang
The i.MX8M SoCs clock driver are provider, NOT consumer, so
clk-provider.hshould be used instead ofclk.h.Signed-off-by Anson Huang <[email protected]>
Applied, thanks.