aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/mpc7450-pmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/mpc7450-pmu.c')
-rw-r--r--arch/powerpc/kernel/mpc7450-pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/mpc7450-pmu.c b/arch/powerpc/kernel/mpc7450-pmu.c
index 2cc5e0301d0b..a6de23d5ef41 100644
--- a/arch/powerpc/kernel/mpc7450-pmu.c
+++ b/arch/powerpc/kernel/mpc7450-pmu.c
@@ -405,7 +405,7 @@ struct power_pmu mpc7450_pmu = {
405 .cache_events = &mpc7450_cache_events, 405 .cache_events = &mpc7450_cache_events,
406}; 406};
407 407
408static int init_mpc7450_pmu(void) 408static int __init init_mpc7450_pmu(void)
409{ 409{
410 if (!cur_cpu_spec->oprofile_cpu_type || 410 if (!cur_cpu_spec->oprofile_cpu_type ||
411 strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc/7450")) 411 strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc/7450"))