Skip to content

Commit

Permalink
module: fix broken isapnp handling in file2alias
Browse files Browse the repository at this point in the history
Handling of isapnp module aliases was broken by commit
626596e by changing "isapnp" string to "isa".
The code was then modified by commit
e49ce14 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>
  • Loading branch information
Ondrej Zary authored and Rusty Russell committed Feb 14, 2012
1 parent 10f296c commit 0d86f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mod/file2alias.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0d86f65

Please sign in to comment.