[patch 13/14] drivers/eisa/*: convert to pci_register_driver

From: domen
Date: Sun Mar 06 2005 - 18:49:53 EST



convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <c.lucas@xxxxxxxxxxx>
Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx>
---


kj-domen/drivers/eisa/pci_eisa.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/eisa/pci_eisa.c~pci_register_driver-drivers_eisa drivers/eisa/pci_eisa.c
--- kj/drivers/eisa/pci_eisa.c~pci_register_driver-drivers_eisa 2005-03-05 16:12:19.000000000 +0100
+++ kj-domen/drivers/eisa/pci_eisa.c 2005-03-05 16:12:19.000000000 +0100
@@ -59,7 +59,7 @@ static struct pci_driver pci_eisa_driver

static int __init pci_eisa_init_module (void)
{
- return pci_module_init (&pci_eisa_driver);
+ return pci_register_driver (&pci_eisa_driver);
}

device_initcall(pci_eisa_init_module);
_
-
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/