hisax_fcpcipnp: fix broken isapnp device table.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 19 May 2010 23:33:38 +0000 (17:33 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 19 May 2010 08:03:38 +0000 (17:33 +0930)
Found that drivers/isdn/hisax/hisax_fcpcipnp.c has broken pnp device table -
wrong type (isapnp instead of pnp) and also ending record missing.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (split patch)
drivers/isdn/hisax/hisax_fcpcipnp.c

index 1925118..8b0a7d8 100644 (file)
@@ -74,9 +74,10 @@ static struct pnp_device_id fcpnp_ids[] __devinitdata = {
                .id             = "AVM0900",
                .driver_data    = (unsigned long) "Fritz!Card PnP",
        },
+       { .id = "" }
 };
 
-MODULE_DEVICE_TABLE(isapnp, fcpnp_ids);
+MODULE_DEVICE_TABLE(pnp, fcpnp_ids);
 #endif
 
 static int protocol = 2;       /* EURO-ISDN Default */