[PATCH] clk: imx: clk-gate-93: fix build error with x86_64 allmodconfig
Peng Fan
peng.fan at oss.nxp.com
Tue Sep 6 22:04:02 PDT 2022
Abel,
On 9/6/2022 8:17 PM, Abel Vesa wrote:
> On 22-09-06 10:40:47, Peng Fan (OSS) wrote:
>> From: Peng Fan <peng.fan at nxp.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 at nxp.com>
>
> Hi Peng,
>
> Since the commit this patch fixes is just in my tree for now,
> I squahed in the mentioned commit.
>
Sure. Thanks for helping on it.
Thanks,
Peng.
> So, it is applied.
>
> Thanks!
>
>> ---
>> 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
>>
More information about the linux-arm-kernel
mailing list