提交 5236d5c7 编写于 作者: A Atsushi Nemoto 提交者: Ralf Baechle

MIPS: TXx9: Add __init_refok annotation to quirk_slc90e66_bridge

This pci fixup routine calls __init functions.
In general pci fixup routine must not call __init functions,
but this pci/isa bridge device is not hotpluggable anyway.
Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7215/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 ad6f9022
......@@ -268,7 +268,7 @@ static int txx9_i8259_irq_setup(int irq)
return err;
}
static void quirk_slc90e66_bridge(struct pci_dev *dev)
static void __init_refok quirk_slc90e66_bridge(struct pci_dev *dev)
{
int irq; /* PCI/ISA Bridge interrupt */
u8 reg_64;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册