From: Jean Delvare Date: Thu, 27 May 2010 17:58:37 +0000 (+0200) Subject: hwmon: (asus_atk0110) Don't load if ACPI resources aren't enforced X-Git-Tag: v2.6.35-rc1~33^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70dd6beac02f43a5099fcf5fddf68cfee0cbf479;p=pandora-kernel.git hwmon: (asus_atk0110) Don't load if ACPI resources aren't enforced When the user passes the kernel parameter acpi_enforce_resources=lax, the ACPI resources are no longer protected, so a native driver can make use of them. In that case, we do not want the asus_atk0110 to be loaded. Unfortunately, this driver loads automatically due to its MODULE_DEVICE_TABLE, so the user ends up with two drivers loaded for the same device - this is bad. So I suggest that we prevent the asus_atk0110 driver from loading if acpi_enforce_resources=lax. Signed-off-by: Jean Delvare Acked-by: Luca Tettamanti Cc: Len Brown --- Reading git-diff-tree failed