Commit cc26b815 authored by Ralf Baechle's avatar Ralf Baechle

rm9000_init() really is __init code.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent a18815ab
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
* *
* Copyright (C) 2004 by Ralf Baechle * Copyright (C) 2004 by Ralf Baechle
*/ */
#include <linux/init.h>
#include <linux/oprofile.h> #include <linux/oprofile.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/smp.h> #include <linux/smp.h>
...@@ -114,7 +115,7 @@ static irqreturn_t rm9000_perfcount_handler(int irq, void * dev_id, ...@@ -114,7 +115,7 @@ static irqreturn_t rm9000_perfcount_handler(int irq, void * dev_id,
return IRQ_HANDLED; return IRQ_HANDLED;
} }
static int rm9000_init(void) static int __init rm9000_init(void)
{ {
return request_irq(rm9000_perfcount_irq, rm9000_perfcount_handler, return request_irq(rm9000_perfcount_irq, rm9000_perfcount_handler,
0, "Perfcounter", NULL); 0, "Perfcounter", NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment