commit | 443850ce5880b24583d2be9d4b146e471fdf3dad | [log] [tgz] |
---|---|---|
author | Wolfgang Grandegger <wg@grandegger.com> | Fri Oct 17 17:51:18 2008 +0200 |
committer | Jean Delvare <khali@mahadeva.delvare> | Fri Oct 17 17:51:18 2008 +0200 |
tree | 68ead39304fd70e387408ab5ad2edf2479807e2c | |
parent | 10c08f937d832e1d5a77e65767a6e2c05bc25c69 [diff] |
hwmon: (w83781d) Make ISA interface depend on CONFIG_ISA Probing the ISA bus on systems without ISA bus may hang the system. This patch makes the ISA bus related code depend on the kernel configuration parameter CONFIG_ISA. It moves ISA bus related code into one #ifdef CONFIG_ISA ... #endif block and adds some helper function. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>