From: Al Viro Date: Sat, 22 Nov 2008 17:38:24 +0000 (+0000) Subject: sn_pci_controller_fixup() should be __init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d3a307f32ec3554739033762672e533e2d246dae;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git sn_pci_controller_fixup() should be __init called only from __init Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/arch/ia64/sn/kernel/io_init.c b/arch/ia64/sn/kernel/io_init.c index c3aa851d1ca..4e1801bad83 100644 --- a/arch/ia64/sn/kernel/io_init.c +++ b/arch/ia64/sn/kernel/io_init.c @@ -292,7 +292,7 @@ EXPORT_SYMBOL(sn_io_slot_fixup); * sn_pci_controller_fixup() - This routine sets up a bus's resources * consistent with the Linux PCI abstraction layer. */ -static void +static void __init sn_pci_controller_fixup(int segment, int busnum, struct pci_bus *bus) { s64 status = 0;