[PATCH 1/1] Change call to the deprecated pci_driver_init to pci_register_driver. Change call to the deprecated pci_driver_init to pci_register_driver. Signed-off-by: Mattia Dongili --- ipw3945.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ipw3945.c b/ipw3945.c index 6c6ec76..8683fa5 100644 --- a/ipw3945.c +++ b/ipw3945.c @@ -16338,7 +16338,7 @@ static int __init ipw_init(void) int ret; printk(KERN_INFO DRV_NAME ": " DRV_DESCRIPTION ", " DRV_VERSION "\n"); printk(KERN_INFO DRV_NAME ": " DRV_COPYRIGHT "\n"); - ret = pci_module_init(&ipw_driver); + ret = pci_register_driver(&ipw_driver); if (ret) { IPW_ERROR("Unable to initialize PCI module\n"); return ret; -- 1.4.4.1 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Ipw3945-devel mailing list Ipw3945-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipw3945-devel