From f6f8cf8a919964f67159474e4765f98c96594c45 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sat, 18 Mar 2017 20:47:58 +0000 Subject: [PATCH] fjes: Disable auto-loading Bug-Debian: https://bugs.debian.org/853976 Forwarded: no 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 --- drivers/net/fjes/fjes_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fjes/fjes_main.c b/drivers/net/fjes/fjes_main.c index 2a569eea4ee..c6ad5e226c5 100644 --- a/drivers/net/fjes/fjes_main.c +++ b/drivers/net/fjes/fjes_main.c @@ -68,7 +68,7 @@ static const struct acpi_device_id fjes_acpi_ids[] = { {ACPI_MOTHERBOARD_RESOURCE_HID, 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, -- 2.30.2