MIPS: TXx9: Add __init_refok annotation to quirk_slc90e66_bridge
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sat, 28 Jun 2014 14:56:57 +0000 (23:56 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2014 13:57:40 +0000 (15:57 +0200)
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>
arch/mips/txx9/generic/pci.c

index 3c5f1808a4ca9581e37033ebcd8a17dcde8da112..a77698ff2b6f75fb62dd22d8214bf2f957692dc0 100644 (file)
@@ -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;