[RFC][PATCH 4/75] net: drivers/net/8139too.c pci_module_init to pci_register_driver conversion

From: Michal Piotrowski
Date: Thu Aug 17 2006 - 09:31:10 EST



Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/8139too.c linux-work2/drivers/net/8139too.c
--- linux-work-clean/drivers/net/8139too.c 2006-08-16 22:40:59.000000000 +0200
+++ linux-work2/drivers/net/8139too.c 2006-08-17 05:13:30.000000000 +0200
@@ -2629,7 +2629,7 @@ static int __init rtl8139_init_module (v
printk (KERN_INFO RTL8139_DRIVER_NAME "\n");
#endif

- return pci_module_init (&rtl8139_pci_driver);
+ return pci_register_driver(&rtl8139_pci_driver);
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/