ARM: 7937/1: perf_event: Silence sparse warning
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 9 Jan 2014 23:57:06 +0000 (00:57 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 11 Jan 2014 12:06:58 +0000 (12:06 +0000)
commit261521f142fb426b58ed460d2476049dc8fa4fb9
treef82345a1993746ccbb86da0a26b363c67877f14d
parente44ef891e9e68b6ce7d3fd3bac73b7d5433050ae
ARM: 7937/1: perf_event: Silence sparse warning

arch/arm/kernel/perf_event_cpu.c:274:25: warning: incorrect type in assignment (different modifiers)
arch/arm/kernel/perf_event_cpu.c:274:25: expected int ( *init_fn )( ... )
arch/arm/kernel/perf_event_cpu.c:274:25: got void const *const data

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/perf_event_cpu.c