[-mm patch] drivers/uio/uio_cif.c: convert pci_module_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch converts the pci_module_init() usage to pci_register_driver().

Signed-off-by: Adrian Bunk <[email protected]>

---
--- linux-2.6.21-rc5-mm4/drivers/uio/uio_cif.c.old	2007-04-05 20:44:24.000000000 +0200
+++ linux-2.6.21-rc5-mm4/drivers/uio/uio_cif.c	2007-04-05 20:44:38.000000000 +0200
@@ -144,7 +144,7 @@
 
 static int __init hilscher_init_module(void)
 {
-	return pci_module_init(&hilscher_pci_driver);
+	return pci_register_driver(&hilscher_pci_driver);
 }
 
 static void __exit hilscher_exit_module(void)

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux