pata_atiixp: add proper ->prereset method
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 11 Oct 2011 17:55:09 +0000 (19:55 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 14 Oct 2011 17:16:49 +0000 (13:16 -0400)
commit46b9e77076a609d10b2009310a1e58281f8daaf9
treedd803400925f2b5732cd29595a33cd0014ffd665
parentd912be2f3b335353ee442262e010a225c94e6ef4
pata_atiixp: add proper ->prereset method

Fixes PCI access before PCI resources are allocated.

Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_atiixp.c