提交 3f03c671 编写于 作者: H Henrik Kretzschmar 提交者: Jeff Garzik

[PATCH] pci_module_init convertion in ata_generic.c

pci_module_init convertion in ata_generic.c.
Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de>
Acked-by: NAlan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 7e45b0e5
...@@ -231,7 +231,7 @@ static struct pci_driver ata_generic_pci_driver = { ...@@ -231,7 +231,7 @@ static struct pci_driver ata_generic_pci_driver = {
static int __init ata_generic_init(void) static int __init ata_generic_init(void)
{ {
return pci_module_init(&ata_generic_pci_driver); return pci_register_driver(&ata_generic_pci_driver);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册