lkml.org 
[lkml]   [2022]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] hwmon: (ltq-cputemp) restrict build to SOC_XWAY
From
On 5/13/22 00:32, Florian Eckert wrote:
> This driver can only be built if the target is set to SOC_XWAY, because
> only then the used macros 'ltq_cgu_*' are available.
>
> To clarify this, the Kconfig is adjusted so that the driver can only be
> selected when the SOC_XWAY is also selected.
>

Already queued.

Thanks,
Guenter

> Reported-by: kernel testrobot <lkp@intel.com>
> Signed-off-by: Florian Eckert <fe@dev.tdt.de>
> ---
>
> This is a fix for an issue, that was reported by the 'kernel testrobot'.
>
> drivers/hwmon/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
> index 68a8a27ab3b7..1122c0519410 100644
> --- a/drivers/hwmon/Kconfig
> +++ b/drivers/hwmon/Kconfig
> @@ -960,7 +960,7 @@ config SENSORS_LTC4261
>
> config SENSORS_LTQ_CPUTEMP
> bool "Lantiq cpu temperature sensor driver"
> - depends on LANTIQ
> + depends on LANTIQ && SOC_XWAY
> help
> If you say yes here you get support for the temperature
> sensor inside your CPU.

\
 
 \ /
  Last update: 2022-05-13 15:01    [W:0.033 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site