summaryrefslogtreecommitdiff
path: root/arch/tile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-10-26 00:36:11 +0400
committerChris Metcalf <cmetcalf@tilera.com>2012-12-13 02:22:17 +0400
commit5955a5966632d0f49cb9418ae437db604db295d9 (patch)
tree4086c35fc839521bf0b68e31c455d5ca1b6c3b50 /arch/tile
parent29594404d7fe73cd80eaa4ee8c43dcc53970c60e (diff)
downloadlinux-5955a5966632d0f49cb9418ae437db604db295d9.tar.xz
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: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/kernel/pci_gx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/tile/kernel/pci_gx.c b/arch/tile/kernel/pci_gx.c
index 2ba6d052f85d..94810d4a6332 100644
--- a/arch/tile/kernel/pci_gx.c
+++ b/arch/tile/kernel/pci_gx.c
@@ -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);