summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ata_generic.c
diff options
context:
space:
mode:
authorHenrik Kretzschmar <henne@nachtwindheim.de>2006-10-10 14:28:12 -0700
committerJeff Garzik <jeff@garzik.org>2006-12-01 22:40:25 -0500
commit3f03c6713a4adfae058f4f1db5acde393db44ec0 (patch)
tree713ed6ac7370e5a73fd11439b658b66d9ff877c8 /drivers/ata/ata_generic.c
parent7e45b0e5f6f68d04311ba7813f5f5457c9119640 (diff)
downloadlinux-3f03c6713a4adfae058f4f1db5acde393db44ec0.tar.bz2
[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/ata/ata_generic.c')
-rw-r--r--drivers/ata/ata_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ata_generic.c b/drivers/ata/ata_generic.c
index 4a80ff9312b8..a44c20c0c757 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);
}