]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
module: fix broken isapnp handling in file2alias
authorOndrej Zary <linux@rainbow-software.org>
Fri, 10 Feb 2012 19:12:27 +0000 (20:12 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 14 Feb 2012 00:32:15 +0000 (11:02 +1030)
Handling of isapnp module aliases was broken by commit
626596e295d477c0fefa08cd5daa7dd011b1bb2c by changing "isapnp" string to "isa".
The code was then modified by commit
e49ce14150c64b29a8dd211df785576fa19a9858 but this bug remained.

Change the string back to "isapnp".

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
scripts/mod/file2alias.c

index e8c9695777689eece29e90e3db66b2cc9d59c80e..d0de2a2c3a2de00cacf74ba796f5b02fa5b56a5d 100644 (file)
@@ -932,7 +932,7 @@ static int do_isapnp_entry(const char *filename,
                (id->function >> 12) & 0x0f, (id->function >> 8) & 0x0f);
        return 1;
 }
-ADD_TO_DEVTABLE("isa", struct isapnp_device_id, do_isapnp_entry);
+ADD_TO_DEVTABLE("isapnp", struct isapnp_device_id, do_isapnp_entry);
 
 /*
  * Append a match expression for a single masked hex digit.