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 845a58478890..fe21b515ca44 100644
--- a/arch/powerpc/kernel/mpc7450-pmu.c
+++ b/arch/powerpc/kernel/mpc7450-pmu.c
@@ -410,7 +410,7 @@ struct power_pmu mpc7450_pmu = {
410 .cache_events = &mpc7450_cache_events, 410 .cache_events = &mpc7450_cache_events,
411}; 411};
412 412
413static int init_mpc7450_pmu(void) 413static int __init init_mpc7450_pmu(void)
414{ 414{
415 if (!cur_cpu_spec->oprofile_cpu_type || 415 if (!cur_cpu_spec->oprofile_cpu_type ||
416 strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc/7450")) 416 strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc/7450"))