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

From: Adrian Bunk
Date: Fri Apr 06 2007 - 06:20:55 EST


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

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---
--- 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/