Commit 9566ad65 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] es7000plat.c warning fix

Lack of argument decls causes this warning:

arch/i386/mach-generic/../mach-es7000/es7000plat.c:53: warning: function declaration isn't a prototype

Let's stick the extern declaration in a header, which is where they always
should be.

Cc: "Brown, Len" <len.brown@intel.com>
Cc: "Protasevich, Natalie" <Natalie.Protasevich@UNISYS.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 942f5de4
...@@ -50,7 +50,6 @@ struct mip_reg *mip_reg; ...@@ -50,7 +50,6 @@ struct mip_reg *mip_reg;
struct mip_reg *host_reg; struct mip_reg *host_reg;
int mip_port; int mip_port;
unsigned long mip_addr, host_addr; unsigned long mip_addr, host_addr;
extern int (*platform_rename_gsi)();
static int __init static int __init
es7000_rename_gsi(int ioapic, int gsi) es7000_rename_gsi(int ioapic, int gsi)
......
...@@ -122,6 +122,8 @@ static inline void disable_acpi(void) ...@@ -122,6 +122,8 @@ static inline void disable_acpi(void)
#define FIX_ACPI_PAGES 4 #define FIX_ACPI_PAGES 4
extern int acpi_gsi_to_irq(u32 gsi, unsigned int *irq); extern int acpi_gsi_to_irq(u32 gsi, unsigned int *irq);
extern int (*platform_rename_gsi)(int ioapic, int gsi);
#ifdef CONFIG_X86_IO_APIC #ifdef CONFIG_X86_IO_APIC
extern int skip_ioapic_setup; extern int skip_ioapic_setup;
extern int acpi_skip_timer_override; extern int acpi_skip_timer_override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment