From: Ralf Baechle Date: Mon, 7 Feb 2005 12:14:00 +0000 (+0000) Subject: rm9000_init() really is __init code. X-Git-Tag: v3.12-rc1~41253^2~1^2~311 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc26b815ddde4168cd853be9e62ecacd392e3f64;p=kernel%2Fkernel-generic.git rm9000_init() really is __init code. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/oprofile/op_model_rm9000.c b/arch/mips/oprofile/op_model_rm9000.c index bee4779..9b75e41 100644 --- a/arch/mips/oprofile/op_model_rm9000.c +++ b/arch/mips/oprofile/op_model_rm9000.c @@ -5,6 +5,7 @@ * * Copyright (C) 2004 by Ralf Baechle */ +#include #include #include #include @@ -114,7 +115,7 @@ static irqreturn_t rm9000_perfcount_handler(int irq, void * dev_id, return IRQ_HANDLED; } -static int rm9000_init(void) +static int __init rm9000_init(void) { return request_irq(rm9000_perfcount_irq, rm9000_perfcount_handler, 0, "Perfcounter", NULL);