Subject: [PATCH] [MM] 7/10 pci_module_init() conversion

From: Henrik Kretzschmar <[email protected]>

pci_module_init() conversion for pata_pdc2027x
For use in mm-tree only, since the new location of the ata drivers.
In that case I don't know exactly how to change the version number.
Signed-off-by: Henrik Kretzschmar <[email protected]>

---

--- linux-2.6.18-rc5-mm1/drivers/ata/pata_pdc2027x.c 2006-09-13 17:54:16.000000000 +0200
+++ linux/drivers/ata/pata_pdc2027x.c 2006-09-13 21:41:56.488893480 +0200
@@ -854,7 +854,7 @@
*/
static int __init pdc2027x_init(void)
{
- return pci_module_init(&pdc2027x_pci_driver);
+ return pci_register_driver(&pdc2027x_pci_driver);
}

/**



2006-09-04 13:32:16

by Alan

[permalink] [raw]
Subject: Re: [PATCH] [MM] 7/10 pci_module_init() conversion

Ar Llu, 2006-09-04 am 15:13 +0200, ysgrifennodd Henne:
> From: Henrik Kretzschmar <[email protected]>
>
> pci_module_init() conversion for pata_pdc2027x
> For use in mm-tree only, since the new location of the ata drivers.
> In that case I don't know exactly how to change the version number.

Nor me or if it matters.

> Signed-off-by: Henrik Kretzschmar <[email protected]>

Acked-by: Alan Cox <[email protected]>