perf: Add const qualifier to perf_pmu_register's 'name' arg
authorMischa Jonker <Mischa.Jonker@synopsys.com>
Tue, 4 Jun 2013 09:45:48 +0000 (11:45 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Jun 2013 10:50:23 +0000 (12:50 +0200)
commit03d8e80beb7db78a13c192431205b9c83f7e0cd1
tree5d2ddf31ec6ee0a39e6ff1d53593889e1af3aa4e
parente712209a9e0b70e78b13847738eb66fe37412515
perf: Add const qualifier to perf_pmu_register's 'name' arg

This allows us to use pdev->name for registering a PMU device.
IMO the name is not supposed to be changed anyway.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1370339148-5566-1-git-send-email-mjonker@synopsys.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/metag/kernel/perf/perf_event.c
include/linux/perf_event.h
kernel/events/core.c