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> --- kj-domen/drivers/net/tokenring/3c359.c | 2 +- kj-domen/drivers/net/tokenring/lanstreamer.c | 2 +- kj-domen/drivers/net/tokenring/olympic.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/net/tokenring/3c359.c~pci_register_driver-drivers_net_tokenring drivers/net/tokenring/3c359.c --- kj/drivers/net/tokenring/3c359.c~pci_register_driver-drivers_net_tokenring 2005-03-05 16:12:38.000000000 +0100 +++ kj-domen/drivers/net/tokenring/3c359.c 2005-03-05 16:12:38.000000000 +0100 @@ -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); } diff -puN drivers/net/tokenring/lanstreamer.c~pci_register_driver-drivers_net_tokenring drivers/net/tokenring/lanstreamer.c --- kj/drivers/net/tokenring/lanstreamer.c~pci_register_driver-drivers_net_tokenring 2005-03-05 16:12:38.000000000 +0100 +++ kj-domen/drivers/net/tokenring/lanstreamer.c 2005-03-05 16:12:38.000000000 +0100 @@ -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) { diff -puN drivers/net/tokenring/olympic.c~pci_register_driver-drivers_net_tokenring drivers/net/tokenring/olympic.c --- kj/drivers/net/tokenring/olympic.c~pci_register_driver-drivers_net_tokenring 2005-03-05 16:12:38.000000000 +0100 +++ kj-domen/drivers/net/tokenring/olympic.c 2005-03-05 16:12:38.000000000 +0100 @@ -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