Commit 5236d5c7 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by 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: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7215/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent ad6f9022
...@@ -268,7 +268,7 @@ static int txx9_i8259_irq_setup(int irq) ...@@ -268,7 +268,7 @@ static int txx9_i8259_irq_setup(int irq)
return err; 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 */ int irq; /* PCI/ISA Bridge interrupt */
u8 reg_64; u8 reg_64;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment