浏览代码

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>
Chris Metcalf 12 年之前
父节点
当前提交
5955a59666
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      arch/tile/kernel/pci_gx.c

+ 1 - 2
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);