PCI: Remove users of pci_enable_device_bars()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Dec 2007 04:28:09 +0000 (15:28 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:27 +0000 (15:04 -0800)
commit0948391641918b95d8d96c15089eb5ac156850b3
tree8120c8b1eb2307ae13bddb62de1f4682c6c1cbc3
parentb718989da7cf1f77ed5665dba0d2c73bd9dfe2d7
PCI: Remove users of pci_enable_device_bars()

This patch converts users of pci_enable_device_bars() to the new
pci_enable_device_{io,mem} interface.

The new API fits nicely, except maybe for the QLA case where a bit of
code re-organization might be a good idea but I prefer sticking to the
simple patch as I don't have hardware to test on.

I'll also need some feedback on the cs5520 change.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/pata_cs5520.c
drivers/i2c/busses/scx200_acb.c
drivers/ide/pci/cs5520.c
drivers/ide/setup-pci.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_os.c