From: Chris Metcalf Date: Thu, 25 Oct 2012 20:36:11 +0000 (-0400) Subject: tilegx: remove __init from pci fixup hook X-Git-Tag: v3.8-rc1~57^2~6 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=5955a5966632d0f49cb9418ae437db604db295d9;p=~emulex%2Finfiniband.git 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 --- diff --git a/arch/tile/kernel/pci_gx.c b/arch/tile/kernel/pci_gx.c index 2ba6d052f85..94810d4a633 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);