]> Pileus Git - ~andy/linux/commitdiff
tilegx: remove __init from pci fixup hook
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 25 Oct 2012 20:36:11 +0000 (16:36 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 12 Dec 2012 22:22:17 +0000 (17:22 -0500)
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: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/pci_gx.c

index 2ba6d052f85d641d8ae16cb19ffbf313b649d11d..94810d4a63327f418cf21b6b9084da211f6a5df4 100644 (file)
@@ -1047,8 +1047,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
 }
 
 /* Called for each device after PCI setup is done. */
-static void __init
-pcibios_fixup_final(struct pci_dev *pdev)
+static void pcibios_fixup_final(struct pci_dev *pdev)
 {
        set_dma_ops(&pdev->dev, gx_pci_dma_map_ops);
        set_dma_offset(&pdev->dev, TILE_PCI_MEM_MAP_BASE_OFFSET);