Skip to content

Commit

Permalink
MIPS: TXx9: Add __init_refok annotation to quirk_slc90e66_bridge
Browse files Browse the repository at this point in the history
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: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7215/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
atsushi-nemoto authored and ralfbaechle committed Jul 30, 2014
1 parent ad6f902 commit 5236d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/txx9/generic/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5236d5c

Please sign in to comment.