Re: [PATCH] x86/platform: (TS-5500) fix CONFIG_TS5500_ADC dependency

From: H. Peter Anvin
Date: Thu Nov 17 2011 - 13:39:21 EST


On 11/17/2011 10:36 AM, Vivien Didelot wrote:
> Hi Ingo,
>
> Here's the fix for the Kconfig dependency issue, for the TS-5500 platform.
> It is based on the latest x86/platform branch from the -tip tree.
>
> Best,
>
> Vivien
>
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
> ---
> arch/x86/platform/ts5500/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/x86/platform/ts5500/Kconfig b/arch/x86/platform/ts5500/Kconfig
> index be51b86..84e59a9 100644
> --- a/arch/x86/platform/ts5500/Kconfig
> +++ b/arch/x86/platform/ts5500/Kconfig
> @@ -23,6 +23,6 @@ config TS5500_LED
>
> config TS5500_ADC
> bool "TS-5500 ADC"
> - depends on TS5500
> + depends on TS5500 && HWMON=y
> help
> Support for the A/D converter on Technologic Systems TS-5500 SBCs.

Shouldn't this be a module, too?

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/