linux-next: build failure after merge of the thermal tree
Subsystems (2)
Hi all,
After merging the thermal tree, today's linux-next build (powerpc allyesconfig) failed like this:
ld: drivers/thermal/imx_sc_thermal.o: in function `.imx_sc_thermal_get_temp':
imx_sc_thermal.c:(.text.imx_sc_thermal_get_temp+0x68): undefined reference to `.imx_scu_call_rpc'
ld: drivers/thermal/imx_sc_thermal.o: in function `.imx_sc_thermal_probe':
imx_sc_thermal.c:(.text.imx_sc_thermal_probe+0x30): undefined reference to `.imx_scu_get_handle'
Caused by commit
ed0843633fee ("thermal: imx_sc: add i.MX system controller thermal support")
I have added the following patch for today.
From: Stephen Rothwell <[email protected]>
Date: Tue, 3 Mar 2020 16:52:49 +1100
Subject: [PATCH] thermal: imx_sc: remove COMPILE_TEST from IMX_SC_THERMAL
--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
@@ -254,7 +254,7 @@ config IMX_THERMAL config IMX_SC_THERMAL tristate "Temperature sensor driver for NXP i.MX SoCs with System Controller" - depends on IMX_SCU || COMPILE_TEST + depends on IMX_SCU depends on OF help Support for Temperature Monitor (TEMPMON) found on NXP i.MX SoCs with
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Anson,
could be please fix those two errors (this one and the thermal_zone_of_get_sensor_id)
Thanks
-- Daniel
Quoted 39 lines · Stephen Rothwell
Hi all,
After merging the thermal tree, today's linux-next build (powerpc allyesconfig) failed like this:
ld:
drivers/thermal/imx_sc_thermal.o: in function `.imx_sc_thermal_get_temp':
imx_sc_thermal.c:(.text.imx_sc_thermal_get_temp+0x68): undefined reference to `.imx_scu_call_rpc'
ld:drivers/thermal/imx_sc_thermal.o: in function `.imx_sc_thermal_probe':
imx_sc_thermal.c:(.text.imx_sc_thermal_probe+0x30): undefined reference to `.imx_scu_get_handle'Caused by commit
ed0843633fee("thermal:imx_sc: add i.MX system controller thermal support")I have added the following patch for today.
From: Stephen Rothwell <[email protected]>
Date: Tue, 3 Mar 2020 16:52:49 +1100
Subject: [PATCH] thermal:imx_sc: removeCOMPILE_TESTfromIMX_SC_THERMALSigned-off-by Stephen Rothwell <[email protected]>--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/thermal/Kconfig +1
-1@@ -254,7 +254,7 @@ config IMX_THERMAL config IMX_SC_THERMAL tristate "Temperature sensor driver for NXP i.MX SoCs with System Controller" - depends on IMX_SCU || COMPILE_TEST + depends on IMX_SCU depends on OF help Support for Temperature Monitor (TEMPMON) found on NXP i.MX SoCs with
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Hi, Daniel
Quoted 7 lines
Subject: Re: linux-next: build failure after merge of the thermal tree
Hi Anson,
could be please fix those two errors (this one and the
thermal_zone_of_get_sensor_id)
Sure, I will fix them and send out patch for review.
Thanks,
Anson
Quoted 62 lines
Thanks
-- Daniel
Quoted 6 lines · Stephen Rothwell
Hi all,
After merging the thermal tree, today's linux-next build (powerpc allyesconfig) failed like this:
ld:
drivers/thermal/imx_sc_thermal.o: in function`.imx_sc_thermal_get_temp':
Quoted 1 line
imx_sc_thermal.c:(.text.imx_sc_thermal_get_temp+0x68): undefined
reference to `.imx_scu_call_rpc'
Quoted 2 lines
ld:
drivers/thermal/imx_sc_thermal.o: in function `.imx_sc_thermal_probe':
imx_sc_thermal.c:(.text.imx_sc_thermal_probe+0x30): undefinedreference to `.imx_scu_get_handle'
Quoted 23 lines
Caused by commit
ed0843633fee("thermal:imx_sc: add i.MX system controller thermal
support")I have added the following patch for today.
From: Stephen Rothwell <[email protected]>
Date: Tue, 3 Mar 2020 16:52:49 +1100
Subject: [PATCH] thermal:imx_sc: removeCOMPILE_TESTfromIMX_SC_THERMALSigned-off-by Stephen Rothwell <[email protected]>--- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/thermal/Kconfig index renamed from drivers/thermal/Kconfig +0
-0
478eda79520d..f3f70503df04100644drivers/thermal/Kconfig config IMX_THERMAL · line 256
Quoted 3 lines
drivers/thermal/Kconfig +0
-0@@ -254,7 +254,7 @@ config IMX_THERMAL config IMX_SC_THERMAL tristate "Temperature sensor driver for NXP i.MX SoCs with SystemController"
drivers/thermal/Kconfig config IMX_THERMAL
Quoted 5 lines
drivers/thermal/Kconfig +1
-1- depends on IMX_SCU || COMPILE_TEST + depends on IMX_SCU depends on OF help Support for Temperature Monitor (TEMPMON) found on NXP i.MXSoCs
Quoted 2 lines
with
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCsFollow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-
blog/> Blog