Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5236d5c7 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Ralf Baechle
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;