[PATCH] drivers/pci/*: convert to pci_register_driver

From: Greg KH
Date: Fri Mar 04 2005 - 16:58:46 EST


ChangeSet 1.1998.11.16, 2005/02/17 15:05:08-08:00, c.lucas@xxxxxxxxxxx

[PATCH] drivers/pci/*: convert to pci_register_driver

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: Greg Kroah-Hartman <gregkh@xxxxxxx>


drivers/pci/pcie/portdrv_pci.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c
--- a/drivers/pci/pcie/portdrv_pci.c 2005-03-04 12:42:24 -08:00
+++ b/drivers/pci/pcie/portdrv_pci.c 2005-03-04 12:42:24 -08:00
@@ -106,7 +106,7 @@
int retval = 0;

pcie_port_bus_register();
- retval = pci_module_init(&pcie_portdrv);
+ retval = pci_register_driver(&pcie_portdrv);
if (retval)
pcie_port_bus_unregister();
return retval;

-
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/