Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d86f65e authored by Ondrej Zary's avatar Ondrej Zary Committed by Rusty Russell
Browse files

module: fix broken isapnp handling in file2alias



Handling of isapnp module aliases was broken by commit
626596e2 by changing "isapnp" string to "isa".
The code was then modified by commit
e49ce141 but this bug remained.

Change the string back to "isapnp".

Signed-off-by: default avatarOndrej Zary <linux@rainbow-software.org>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 10f296cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -932,7 +932,7 @@ static int do_isapnp_entry(const char *filename,
		(id->function >> 12) & 0x0f, (id->function >> 8) & 0x0f);
		(id->function >> 12) & 0x0f, (id->function >> 8) & 0x0f);
	return 1;
	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.
 * Append a match expression for a single masked hex digit.