Re: [PATCH] MIPS: Kconfig: Use correct form for 'depends on'
From: Philippe Mathieu-DaudÃ
Date: Thu Nov 28 2019 - 15:11:30 EST
On Thu, Nov 28, 2019 at 6:23 PM Joe Perches <joe@xxxxxxxxxxx> wrote:
>
> Remove the CONFIG_ prefix from "depends on" as it makes the selection
> not possible.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---
> drivers/platform/mips/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/mips/Kconfig b/drivers/platform/mips/Kconfig
> index f4d0a86..5e77b0 100644
> --- a/drivers/platform/mips/Kconfig
> +++ b/drivers/platform/mips/Kconfig
> @@ -18,7 +18,7 @@ if MIPS_PLATFORM_DEVICES
>
> config CPU_HWMON
> tristate "Loongson-3 CPU HWMon Driver"
> - depends on CONFIG_MACH_LOONGSON64
> + depends on MACH_LOONGSON64
> select HWMON
> default y
> help
>
Reviewed-by: Philippe Mathieu-Daudà <f4bug@xxxxxxxxx>