]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/alpha/kernel/perf_event.c
perf: Deconstify struct pmu
[mv-sheeva.git] / arch / alpha / kernel / perf_event.c
index 51c39fa41693bcbcbc880130a8af6e0ce411c2dc..56fa4159038164ce4e2fe5fdc53116073ade6001 100644 (file)
@@ -642,7 +642,7 @@ static int __hw_perf_event_init(struct perf_event *event)
        return 0;
 }
 
-static const struct pmu pmu = {
+static struct pmu pmu = {
        .enable         = alpha_pmu_enable,
        .disable        = alpha_pmu_disable,
        .read           = alpha_pmu_read,
@@ -653,7 +653,7 @@ static const struct pmu pmu = {
 /*
  * Main entry point to initialise a HW performance event.
  */
-const struct pmu *hw_perf_event_init(struct perf_event *event)
+struct pmu *hw_perf_event_init(struct perf_event *event)
 {
        int err;