summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-10-25 16:36:11 -0400
committerChris Metcalf <cmetcalf@tilera.com>2012-12-12 17:22:17 -0500
commit5955a5966632d0f49cb9418ae437db604db295d9 (patch)
tree4086c35fc839521bf0b68e31c455d5ca1b6c3b50 /arch
parent29594404d7fe73cd80eaa4ee8c43dcc53970c60e (diff)
downloadop-kernel-dev-5955a5966632d0f49cb9418ae437db604db295d9.zip
op-kernel-dev-5955a5966632d0f49cb9418ae437db604db295d9.tar.gz
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')
-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 2ba6d05..94810d4 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);
OpenPOWER on IntegriCloud