hwmon: Avoid building drivers for powerpc that read/write ISA addresses
authorDean Nelson <dnelson@redhat.com>
Fri, 4 Nov 2011 11:00:45 +0000 (12:00 +0100)
committerJean Delvare <khali@endymion.delvare>
Fri, 4 Nov 2011 11:00:45 +0000 (12:00 +0100)
commit746cdfbf01c0a30d59f6e1b6942d432658d7c7cd
treed5b83d6a1fd487f98e42ad215ad7bd89d495a5dd
parent1a67a573b8d9f02211f36fbab50f6265dc49384a
hwmon: Avoid building drivers for powerpc that read/write ISA addresses

A modprobe of hwmon drivers that read/write ISA addresses on a powerpc results
in a kernel Oops. These reads/writes are being done via the inb()/in_8() and
outb()/out_8() macros.

Prevent these drivers from being built for powerpc.

Signed-off-by: Dean Nelson <dnelson@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/Kconfig