diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2014-06-28 10:56:57 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-07-30 09:57:40 -0400 |
commit | 5236d5c776524f01e52d2442dcbd5c9aaa4e65e7 (patch) | |
tree | 5a5094957697001a1fd00d4df8fc3cbaedf09a5d /arch/mips/txx9 | |
parent | ad6f9022da088e5ec219ca0bbe267feb046a57a2 (diff) |
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: 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>
Diffstat (limited to 'arch/mips/txx9')
-rw-r--r-- | arch/mips/txx9/generic/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/txx9/generic/pci.c b/arch/mips/txx9/generic/pci.c index 3c5f1808a4ca..a77698ff2b6f 100644 --- a/arch/mips/txx9/generic/pci.c +++ b/arch/mips/txx9/generic/pci.c | |||
@@ -268,7 +268,7 @@ static int txx9_i8259_irq_setup(int irq) | |||
268 | return err; | 268 | return err; |
269 | } | 269 | } |
270 | 270 | ||
271 | static void quirk_slc90e66_bridge(struct pci_dev *dev) | 271 | static void __init_refok quirk_slc90e66_bridge(struct pci_dev *dev) |
272 | { | 272 | { |
273 | int irq; /* PCI/ISA Bridge interrupt */ | 273 | int irq; /* PCI/ISA Bridge interrupt */ |
274 | u8 reg_64; | 274 | u8 reg_64; |