diff options
author | Alistair John Strachan <alistair@devzero.co.uk> | 2009-01-15 22:27:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-24 16:36:25 -0800 |
commit | 974240e865a9ec89e62119e196518d1c185a6513 (patch) | |
tree | 08448f0a39f23877ebce933747c2f0c58363d2f3 /arch/powerpc/mm | |
parent | a8a427bc34762c13bb5c5fc7fe3d6cf75ebdc07a (diff) |
hwmon: (abituguru3) Fix CONFIG_DMI=n fallback to probe
commit 46a5f173fc88ffc22651162033696d8a9fbcdc5c upstream.
When CONFIG_DMI is not enabled, dmi detection should flag that no board
could be detected (err=1) rather than another error condition (err<0).
This fixes the fallback to manual probing for all motherboards, even
those without DMI strings, when CONFIG_DMI=n.
Signed-off-by: Alistair John Strachan <alistair@devzero.co.uk>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/powerpc/mm')
0 files changed, 0 insertions, 0 deletions