Jean Delvare 70dd6beac0 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 <khali@linux-fr.org>
Acked-by: Luca Tettamanti <kronos.it@gmail.com>
Cc: Len Brown <lenb@kernel.org>
2010-05-27 19:58:37 +02:00
..
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2010-01-25 15:00:49 +01:00
2009-12-14 21:17:26 +01:00
2010-05-11 09:17:46 +02:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2010-01-10 20:52:35 +01:00
2010-01-10 20:52:35 +01:00
2010-05-25 08:07:07 -07:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2010-03-05 22:17:15 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-09-15 17:18:13 +02:00
2009-12-14 21:17:26 +01:00
2009-12-09 20:35:45 +01:00
2010-01-10 20:52:35 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2010-03-05 22:17:26 +01:00
2010-03-05 22:17:26 +01:00
2010-01-10 20:52:35 +01:00
2009-09-15 17:18:13 +02:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-15 08:53:35 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00