diff options
author | Henrik Kretzschmar <henne@nachtwindheim.de> | 2006-10-10 14:28:12 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-01 22:40:25 -0500 |
commit | 3f03c6713a4adfae058f4f1db5acde393db44ec0 (patch) | |
tree | 713ed6ac7370e5a73fd11439b658b66d9ff877c8 /drivers | |
parent | 7e45b0e5f6f68d04311ba7813f5f5457c9119640 (diff) | |
download | op-kernel-dev-3f03c6713a4adfae058f4f1db5acde393db44ec0.zip op-kernel-dev-3f03c6713a4adfae058f4f1db5acde393db44ec0.tar.gz |
[PATCH] pci_module_init convertion in ata_generic.c
pci_module_init convertion in ata_generic.c.
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/ata_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ata_generic.c b/drivers/ata/ata_generic.c index 4a80ff9..a44c20c 100644 --- a/drivers/ata/ata_generic.c +++ b/drivers/ata/ata_generic.c @@ -231,7 +231,7 @@ static struct pci_driver ata_generic_pci_driver = { static int __init ata_generic_init(void) { - return pci_module_init(&ata_generic_pci_driver); + return pci_register_driver(&ata_generic_pci_driver); } |