[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220906024047.1840977-1-peng.fan@oss.nxp.com>
Date: Tue, 6 Sep 2022 10:40:47 +0800
From: "Peng Fan (OSS)" <peng.fan@....nxp.com>
To: abelvesa@...nel.org, abel.vesa@...aro.org, mturquette@...libre.com,
sboyd@...nel.org, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com
Cc: linux-imx@....com, linux-clk@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Peng Fan <peng.fan@....com>
Subject: [PATCH] clk: imx: clk-gate-93: fix build error with x86_64 allmodconfig
From: Peng Fan <peng.fan@....com>
When building with x86_64 allmodconfig:
ERROR: modpost: missing MODULE_LICENSE() in drivers/clk/imx/clk-gate-93.o
Fix it with 'mxc-clk-objs += clk-gate-93.o'
Fixes: 4e9331d4e2e0 ("clk: imx: add i.MX93 clk gate")
Signed-off-by: Peng Fan <peng.fan@....com>
---
drivers/clk/imx/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/imx/Makefile b/drivers/clk/imx/Makefile
index 89fe72327788..e8aacb0ee6ac 100644
--- a/drivers/clk/imx/Makefile
+++ b/drivers/clk/imx/Makefile
@@ -12,6 +12,7 @@ mxc-clk-objs += clk-fixup-div.o
mxc-clk-objs += clk-fixup-mux.o
mxc-clk-objs += clk-frac-pll.o
mxc-clk-objs += clk-gate2.o
+mxc-clk-objs += clk-gate-93.o
mxc-clk-objs += clk-gate-exclusive.o
mxc-clk-objs += clk-pfd.o
mxc-clk-objs += clk-pfdv2.o
@@ -28,7 +29,7 @@ obj-$(CONFIG_CLK_IMX8MN) += clk-imx8mn.o
obj-$(CONFIG_CLK_IMX8MP) += clk-imx8mp.o
obj-$(CONFIG_CLK_IMX8MQ) += clk-imx8mq.o
-obj-$(CONFIG_CLK_IMX93) += clk-imx93.o clk-gate-93.o
+obj-$(CONFIG_CLK_IMX93) += clk-imx93.o
obj-$(CONFIG_MXC_CLK_SCU) += clk-imx-scu.o clk-imx-lpcg-scu.o
clk-imx-scu-$(CONFIG_CLK_IMX8QXP) += clk-scu.o clk-imx8qxp.o \
--
2.37.1
Powered by blists - more mailing lists