[PATCH] tilegx: move fixup hook from __init to __devinit

From: Chris Metcalf
Date: Thu Oct 25 2012 - 16:22:13 EST


Support having the PCI bus be removed at runtime and rediscovered.

Signed-off-by: Chris Metcalf <cmetcalf@xxxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx [v3.6]
---
arch/tile/kernel/pci_gx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/tile/kernel/pci_gx.c b/arch/tile/kernel/pci_gx.c
index 2ba6d05..248d08a 100644
--- a/arch/tile/kernel/pci_gx.c
+++ b/arch/tile/kernel/pci_gx.c
@@ -1047,7 +1047,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
}

/* Called for each device after PCI setup is done. */
-static void __init
+static void __devinit
pcibios_fixup_final(struct pci_dev *pdev)
{
set_dma_ops(&pdev->dev, gx_pci_dma_map_ops);
--
1.7.10.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/