From: Wolfgang Grandegger Date: Fri, 17 Oct 2008 15:51:18 +0000 (+0200) Subject: hwmon: (w83781d) Make ISA interface depend on CONFIG_ISA X-Git-Tag: v2.6.28-rc1~259^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=443850ce5880b24583d2be9d4b146e471fdf3dad;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare --- Reading git-diff-tree failed