linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: imx: clk-gate-93: fix build error with x86_64 allmodconfig
@ 2022-09-06  2:40 Peng Fan (OSS)
  2022-09-06 12:17 ` Abel Vesa
  0 siblings, 1 reply; 3+ messages in thread
From: Peng Fan (OSS) @ 2022-09-06  2:40 UTC (permalink / raw)
  To: abelvesa, abel.vesa, mturquette, sboyd, shawnguo, s.hauer,
	kernel, festevam
  Cc: linux-imx, linux-clk, linux-arm-kernel, linux-kernel, Peng Fan

From: Peng Fan <peng.fan@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@nxp.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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: imx: clk-gate-93: fix build error with x86_64 allmodconfig
  2022-09-06  2:40 [PATCH] clk: imx: clk-gate-93: fix build error with x86_64 allmodconfig Peng Fan (OSS)
@ 2022-09-06 12:17 ` Abel Vesa
  2022-09-07  5:04   ` Peng Fan
  0 siblings, 1 reply; 3+ messages in thread
From: Abel Vesa @ 2022-09-06 12:17 UTC (permalink / raw)
  To: Peng Fan (OSS)
  Cc: abelvesa, mturquette, sboyd, shawnguo, s.hauer, kernel, festevam,
	linux-imx, linux-clk, linux-arm-kernel, linux-kernel, Peng Fan

On 22-09-06 10:40:47, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@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@nxp.com>

Hi Peng,

Since the commit this patch fixes is just in my tree for now,
I squahed in the mentioned commit.

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
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: imx: clk-gate-93: fix build error with x86_64 allmodconfig
  2022-09-06 12:17 ` Abel Vesa
@ 2022-09-07  5:04   ` Peng Fan
  0 siblings, 0 replies; 3+ messages in thread
From: Peng Fan @ 2022-09-07  5:04 UTC (permalink / raw)
  To: Abel Vesa
  Cc: abelvesa, mturquette, sboyd, shawnguo, s.hauer, kernel, festevam,
	linux-imx, linux-clk, linux-arm-kernel, linux-kernel, Peng Fan

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@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@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
>>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-07  5:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-06  2:40 [PATCH] clk: imx: clk-gate-93: fix build error with x86_64 allmodconfig Peng Fan (OSS)
2022-09-06 12:17 ` Abel Vesa
2022-09-07  5:04   ` Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).