x86/io_apic: Make eoi_ioapic_pin() static
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 9 Oct 2015 14:24:45 +0000 (17:24 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 11 Oct 2015 19:10:31 +0000 (21:10 +0200)
We have to define internally used function as static, otherwise the following
warning will be generated:

arch/x86/kernel/apic/io_apic.c:532:6: warning: no previous prototype for 'eoi_ioapic_pin' [-Wmissing-prototypes]

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jiang Liu <jiang.liu@linux.intel.com>
Link: http://lkml.kernel.org/r/1444400685-98611-1-git-send-email-andriy.shevchenko@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic/io_apic.c

index 5c60bb16262203ab63720ee349384180e9e7d8fb..b5a0e3c5e930e0f1746cb8e4b12709709f687430 100644 (file)
@@ -529,7 +529,7 @@ static void __eoi_ioapic_pin(int apic, int pin, int vector)
        }
 }
 
-void eoi_ioapic_pin(int vector, struct mp_chip_data *data)
+static void eoi_ioapic_pin(int vector, struct mp_chip_data *data)
 {
        unsigned long flags;
        struct irq_pin_list *entry;