2019-11-28 17:16:26

by Joe Perches

[permalink] [raw]
Subject: [PATCH] MIPS: Kconfig: Use correct form for 'depends on'

Remove the CONFIG_ prefix from "depends on" as it makes the selection
not possible.

Signed-off-by: Joe Perches <[email protected]>
---
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



2019-11-28 20:12:47

by Philippe Mathieu-Daudé

[permalink] [raw]
Subject: Re: [PATCH] MIPS: Kconfig: Use correct form for 'depends on'

On Thu, Nov 28, 2019 at 6:23 PM Joe Perches <[email protected]> wrote:
>
> Remove the CONFIG_ prefix from "depends on" as it makes the selection
> not possible.
>
> Signed-off-by: Joe Perches <[email protected]>
> ---
> 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é <[email protected]>

2019-12-02 19:52:52

by Paul Burton

[permalink] [raw]
Subject: Re: [PATCH] MIPS: Kconfig: Use correct form for 'depends on'

Hello,

Joe Perches wrote:
> Remove the CONFIG_ prefix from "depends on" as it makes the selection
> not possible.

Applied to mips-fixes.

> commit a7effde99b6e
> https://git.kernel.org/mips/c/a7effde99b6e
>
> Signed-off-by: Joe Perches <[email protected]>
> Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
> Signed-off-by: Paul Burton <[email protected]>

Thanks,
Paul

[ This message was auto-generated; if you believe anything is incorrect
then please email [email protected] to report it. ]