diff options
Diffstat (limited to 'arch/mips/cavium-octeon/cpu.c')
-rw-r--r-- | arch/mips/cavium-octeon/cpu.c | 6 |
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, | |||
41 | return NOTIFY_OK; /* Let default notifier send signals */ | 41 | return NOTIFY_OK; /* Let default notifier send signals */ |
42 | } | 42 | } |
43 | 43 | ||
44 | static struct notifier_block cnmips_cu2_notifier = { | ||
45 | .notifier_call = cnmips_cu2_call, | ||
46 | }; | ||
47 | |||
48 | static int cnmips_cu2_setup(void) | 44 | static int cnmips_cu2_setup(void) |
49 | { | 45 | { |
50 | return register_cu2_notifier(&cnmips_cu2_notifier); | 46 | return cu2_notifier(cnmips_cu2_call, 0); |
51 | } | 47 | } |
52 | early_initcall(cnmips_cu2_setup); | 48 | early_initcall(cnmips_cu2_setup); |