summaryrefslogtreecommitdiff
path: root/drivers/clk/imx/clk-imx8mm.c
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-02-12 10:02:23 +0300
committerShawn Guo <shawnguo@kernel.org>2020-02-17 09:26:32 +0300
commitf95d58981f40b546429e1b06e441c70bcc52786e (patch)
treedde8bc94673e1ecb36cae39877fbb69df2427f3d /drivers/clk/imx/clk-imx8mm.c
parent9c07ae6983d434841bb19bea0a75bd0fd925a75c (diff)
downloadlinux-f95d58981f40b546429e1b06e441c70bcc52786e.tar.xz
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 <Anson.Huang@nxp.com> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/clk/imx/clk-imx8mm.c')
-rw-r--r--drivers/clk/imx/clk-imx8mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c
index 6dbdc1a1b5eb..0cba5d4bd51e 100644
--- a/drivers/clk/imx/clk-imx8mm.c
+++ b/drivers/clk/imx/clk-imx8mm.c
@@ -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>