]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm78) Make ISA interface depend on CONFIG_ISA
authorJean Delvare <khali@linux-fr.org>
Mon, 25 Jul 2011 19:46:11 +0000 (21:46 +0200)
committerJean Delvare <khali@endymion.delvare>
Mon, 25 Jul 2011 19:46:11 +0000 (21:46 +0200)
commitc85ed54d294384466276570a9e3c7cd0c8e10971
tree755a31606e47c783662f9b1c27423caf764695cc
parentd8ebb8ac5ca73f0bc29028ea82217366021503cd
hwmon: (lm78) Make ISA interface depend on CONFIG_ISA

We should only include support for the ISA interface of the LM78/LM79
if CONFIG_ISA is set. Not only this makes the driver somewhat smaller
on most architectures, but this also avoids poking at random I/O
ports on these architectures.

This is very similiar to what was done for the w83781d driver in
October 2008.

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