lkml.org 
[lkml]   [2008]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] THERMAL must not select HWMON
On Fri, 14 Mar 2008 19:37:58 +0100
Bastian Blank <bastian@waldi.eu.org> wrote:

> On Fri, Mar 14, 2008 at 11:21:12AM -0700, Randy Dunlap wrote:
>
> [ select forces HWMON to yes even if deps are never applicable ]
>
> > Yes, that's a known & longstanding problem (that select does not
> > follow/honor dependencies).
>
> Okay.
>
> So THERMAL can't select HWMON, instead it needs to do a proper depends.
>
> Bastian
>
> Signed-off-by: Bastian Blank <waldi@debian.org>
> Cc: Zhang Rui <rui.zhang@intel.com>
>
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 3ab313e..394912c 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -4,7 +4,7 @@
>
> menuconfig THERMAL
> bool "Generic Thermal sysfs driver"
> - select HWMON
> + depends on HWMON
> default y
> help
> Generic Thermal Sysfs driver offers a generic mechanism for

Sorry, but we have insufficient information here.

Presumably it fixes some build error, but the changelog should tell us (at
least) what that error was, why it occurs and how the patch fixes it.

Often (for bugfixes) I'll go off and find this stuff out from the mailing
list and put together a proper description. I also need to do this so I
can work out whether the patch is needed in 2.6.25 or -stable. But I can't
even find any reference to the original problem in the lkml archives.



\
 
 \ /
  Last update: 2008-03-14 21:47    [W:0.035 / U:43.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site