diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-10-09 10:24:45 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-10-11 15:10:31 -0400 |
commit | 4faefda97bc1be6ca909ba0fd0927ea78f37f67e (patch) | |
tree | fde2072cf51a985d55a12aaf08c16aa07affdbdd /arch/x86/kernel/apic/io_apic.c | |
parent | a7e705af524d165fe7bc303aee82225c66734885 (diff) |
x86/io_apic: Make eoi_ioapic_pin() static
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>
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 5c60bb162622..b5a0e3c5e930 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -529,7 +529,7 @@ static void __eoi_ioapic_pin(int apic, int pin, int vector) | |||
529 | } | 529 | } |
530 | } | 530 | } |
531 | 531 | ||
532 | void eoi_ioapic_pin(int vector, struct mp_chip_data *data) | 532 | static void eoi_ioapic_pin(int vector, struct mp_chip_data *data) |
533 | { | 533 | { |
534 | unsigned long flags; | 534 | unsigned long flags; |
535 | struct irq_pin_list *entry; | 535 | struct irq_pin_list *entry; |