From: Ben Hutchings Date: Sat, 18 Mar 2017 20:47:58 +0000 (+0000) Subject: fjes: Disable auto-loading X-Git-Tag: archive/raspbian/4.15.4-1+rpi1~1^2^2^2^2^2^2^2^2^2^2^2^2~89 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3f1d2f103d1cf5eea6acfe0c3f081548060aa873;p=linux.git fjes: Disable auto-loading fjes matches a generic ACPI device ID, and relies on its probe function to distinguish whether that really corresponds to a supported device. Very few system will need the driver and it wastes memory on all the other systems where the same device ID appears, so disable auto-loading. Gbp-Pq: Topic debian Gbp-Pq: Name fjes-disable-autoload.patch --- diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index e46b1ebbbff..9b2d6f65eec 100644 --- a/drivers/net/fjes/fjes_main.c +++ b/drivers/net/fjes/fjes_main.c @@ -81,7 +81,7 @@ static const struct acpi_device_id fjes_acpi_ids[] = { {"PNP0C02", 0}, {"", 0}, }; -MODULE_DEVICE_TABLE(acpi, fjes_acpi_ids); +/* MODULE_DEVICE_TABLE(acpi, fjes_acpi_ids); */ static struct acpi_driver fjes_acpi_driver = { .name = DRV_NAME,