Commit 5955a596 authored by Chris Metcalf's avatar Chris Metcalf

tilegx: remove __init from pci fixup hook

Support having the PCI bus be removed at runtime and rediscovered.
gregkh@linuxfoundation.org argued for removing __init rather
than converting it to __devinit.
Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
parent 29594404
...@@ -1047,8 +1047,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask) ...@@ -1047,8 +1047,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
} }
/* Called for each device after PCI setup is done. */ /* Called for each device after PCI setup is done. */
static void __init static void pcibios_fixup_final(struct pci_dev *pdev)
pcibios_fixup_final(struct pci_dev *pdev)
{ {
set_dma_ops(&pdev->dev, gx_pci_dma_map_ops); set_dma_ops(&pdev->dev, gx_pci_dma_map_ops);
set_dma_offset(&pdev->dev, TILE_PCI_MEM_MAP_BASE_OFFSET); set_dma_offset(&pdev->dev, TILE_PCI_MEM_MAP_BASE_OFFSET);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment