From: Christophe Lucas <c.lucas@xxxxxxxxxxx> convert from pci_module_init to pci_register_driver (from:http://kerneljanitors.org/TODO). Signed-off-by: Christophe Lucas <c.lucas@xxxxxxxxxxx> Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx> --- 3c359.c | 2 +- lanstreamer.c | 2 +- olympic.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) Index: quilt/drivers/net/tokenring/3c359.c =================================================================== --- quilt.orig/drivers/net/tokenring/3c359.c +++ quilt/drivers/net/tokenring/3c359.c @@ -1815,7 +1815,7 @@ static struct pci_driver xl_3c359_driver static int __init xl_pci_init (void) { - return pci_module_init (&xl_3c359_driver); + return pci_register_driver (&xl_3c359_driver); } Index: quilt/drivers/net/tokenring/lanstreamer.c =================================================================== --- quilt.orig/drivers/net/tokenring/lanstreamer.c +++ quilt/drivers/net/tokenring/lanstreamer.c @@ -1991,7 +1991,7 @@ static struct pci_driver streamer_pci_dr }; static int __init streamer_init_module(void) { - return pci_module_init(&streamer_pci_driver); + return pci_register_driver(&streamer_pci_driver); } static void __exit streamer_cleanup_module(void) { Index: quilt/drivers/net/tokenring/olympic.c =================================================================== --- quilt.orig/drivers/net/tokenring/olympic.c +++ quilt/drivers/net/tokenring/olympic.c @@ -1771,7 +1771,7 @@ static struct pci_driver olympic_driver static int __init olympic_pci_init(void) { - return pci_module_init (&olympic_driver) ; + return pci_register_driver (&olympic_driver); } static void __exit olympic_pci_cleanup(void) -- - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html