fjes: Disable auto-loading
authorBen Hutchings <ben@decadent.org.uk>
Sat, 18 Mar 2017 20:47:58 +0000 (20:47 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 2 Aug 2025 13:13:02 +0000 (15:13 +0200)
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

index 1eff202f6a1fa2dd6590aa7313f70d3ffe65ebda..8931ca78d7be7fa2dd905d1ee9af1539fa07a3e8 100644 (file)
@@ -36,7 +36,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 bool is_extended_socket_device(struct acpi_device *device)
 {