aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/perf_event_xscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/perf_event_xscale.c')
-rw-r--r--arch/arm/kernel/perf_event_xscale.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/kernel/perf_event_xscale.c b/arch/arm/kernel/perf_event_xscale.c
index 3c4397491d0..730b1c29986 100644
--- a/arch/arm/kernel/perf_event_xscale.c
+++ b/arch/arm/kernel/perf_event_xscale.c
@@ -424,7 +424,7 @@ xscale1pmu_write_counter(int counter, u32 val)
424 } 424 }
425} 425}
426 426
427static const struct arm_pmu xscale1pmu = { 427static struct arm_pmu xscale1pmu = {
428 .id = ARM_PERF_PMU_ID_XSCALE1, 428 .id = ARM_PERF_PMU_ID_XSCALE1,
429 .name = "xscale1", 429 .name = "xscale1",
430 .handle_irq = xscale1pmu_handle_irq, 430 .handle_irq = xscale1pmu_handle_irq,
@@ -442,7 +442,7 @@ static const struct arm_pmu xscale1pmu = {
442 .max_period = (1LLU << 32) - 1, 442 .max_period = (1LLU << 32) - 1,
443}; 443};
444 444
445static const struct arm_pmu *__init xscale1pmu_init(void) 445static struct arm_pmu *__init xscale1pmu_init(void)
446{ 446{
447 return &xscale1pmu; 447 return &xscale1pmu;
448} 448}
@@ -786,7 +786,7 @@ xscale2pmu_write_counter(int counter, u32 val)
786 } 786 }
787} 787}
788 788
789static const struct arm_pmu xscale2pmu = { 789static struct arm_pmu xscale2pmu = {
790 .id = ARM_PERF_PMU_ID_XSCALE2, 790 .id = ARM_PERF_PMU_ID_XSCALE2,
791 .name = "xscale2", 791 .name = "xscale2",
792 .handle_irq = xscale2pmu_handle_irq, 792 .handle_irq = xscale2pmu_handle_irq,
@@ -804,17 +804,17 @@ static const struct arm_pmu xscale2pmu = {
804 .max_period = (1LLU << 32) - 1, 804 .max_period = (1LLU << 32) - 1,
805}; 805};
806 806
807static const struct arm_pmu *__init xscale2pmu_init(void) 807static struct arm_pmu *__init xscale2pmu_init(void)
808{ 808{
809 return &xscale2pmu; 809 return &xscale2pmu;
810} 810}
811#else 811#else
812static const struct arm_pmu *__init xscale1pmu_init(void) 812static struct arm_pmu *__init xscale1pmu_init(void)
813{ 813{
814 return NULL; 814 return NULL;
815} 815}
816 816
817static const struct arm_pmu *__init xscale2pmu_init(void) 817static struct arm_pmu *__init xscale2pmu_init(void)
818{ 818{
819 return NULL; 819 return NULL;
820} 820}