diff options
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
| -rw-r--r-- | arch/powerpc/kernel/pci-common.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index 9021c4ad4bbd..10a44e68ef11 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c | |||
| @@ -1090,8 +1090,6 @@ void __devinit pcibios_setup_bus_devices(struct pci_bus *bus) | |||
| 1090 | bus->number, bus->self ? pci_name(bus->self) : "PHB"); | 1090 | bus->number, bus->self ? pci_name(bus->self) : "PHB"); |
| 1091 | 1091 | ||
| 1092 | list_for_each_entry(dev, &bus->devices, bus_list) { | 1092 | list_for_each_entry(dev, &bus->devices, bus_list) { |
| 1093 | struct dev_archdata *sd = &dev->dev.archdata; | ||
| 1094 | |||
| 1095 | /* Cardbus can call us to add new devices to a bus, so ignore | 1093 | /* Cardbus can call us to add new devices to a bus, so ignore |
| 1096 | * those who are already fully discovered | 1094 | * those who are already fully discovered |
| 1097 | */ | 1095 | */ |
| @@ -1107,7 +1105,7 @@ void __devinit pcibios_setup_bus_devices(struct pci_bus *bus) | |||
| 1107 | set_dev_node(&dev->dev, pcibus_to_node(dev->bus)); | 1105 | set_dev_node(&dev->dev, pcibus_to_node(dev->bus)); |
| 1108 | 1106 | ||
| 1109 | /* Hook up default DMA ops */ | 1107 | /* Hook up default DMA ops */ |
| 1110 | sd->dma_ops = pci_dma_ops; | 1108 | set_dma_ops(&dev->dev, pci_dma_ops); |
| 1111 | set_dma_offset(&dev->dev, PCI_DRAM_OFFSET); | 1109 | set_dma_offset(&dev->dev, PCI_DRAM_OFFSET); |
| 1112 | 1110 | ||
| 1113 | /* Additional platform DMA/iommu setup */ | 1111 | /* Additional platform DMA/iommu setup */ |
