summaryrefslogtreecommitdiffstats
path: root/arch/mips/cavium-octeon/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/cavium-octeon/cpu.c')
-rw-r--r--arch/mips/cavium-octeon/cpu.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/mips/cavium-octeon/cpu.c b/arch/mips/cavium-octeon/cpu.c
index b6df5387e855..c664c8cc2b42 100644
--- a/arch/mips/cavium-octeon/cpu.c
+++ b/arch/mips/cavium-octeon/cpu.c
@@ -41,12 +41,8 @@ static int cnmips_cu2_call(struct notifier_block *nfb, unsigned long action,
return NOTIFY_OK; /* Let default notifier send signals */
}
-static struct notifier_block cnmips_cu2_notifier = {
- .notifier_call = cnmips_cu2_call,
-};
-
static int cnmips_cu2_setup(void)
{
- return register_cu2_notifier(&cnmips_cu2_notifier);
+ return cu2_notifier(cnmips_cu2_call, 0);
}
early_initcall(cnmips_cu2_setup);
OpenPOWER on IntegriCloud