diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-04-10 22:18:55 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-04-11 15:39:51 +0200 |
commit | 9fcb705929fb476d48ff47a54a67e9da659f10c5 (patch) | |
tree | 9f34de6ffb933f2681766f246944c6d2391d7abe /arch/mips/sgi-ip27 | |
parent | 1186e4e904839955e5d2be94f50e0a363cb5651b (diff) |
IP27: Make declaration and definition of rt_timer_irq match.
Without, the LTO compiler will complain:
[...]
LD init/built-in.o
LDFINAL vmlinux.o
arch/mips/sgi-ip27/ip27-irq.c:379:22: warning: type of ‘rt_timer_irq’ does not match original declaration [enabled by default]
extern unsigned int rt_timer_irq;
^
arch/mips/sgi-ip27/ip27-timer.c:72:5: note: previously declared here
int rt_timer_irq;
^
MODPOST vmlinux.o
[...]
And without LTO, it's still good stile to things match.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip27')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sgi-ip27/ip27-timer.c b/arch/mips/sgi-ip27/ip27-timer.c index fff58ac176f3..2e21b761cb9c 100644 --- a/arch/mips/sgi-ip27/ip27-timer.c +++ b/arch/mips/sgi-ip27/ip27-timer.c @@ -69,7 +69,7 @@ static void rt_set_mode(enum clock_event_mode mode, /* Nothing to do ... */ } -int rt_timer_irq; +unsigned int rt_timer_irq; static DEFINE_PER_CPU(struct clock_event_device, hub_rt_clockevent); static DEFINE_PER_CPU(char [11], hub_rt_name); |