summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/jade.c
diff options
context:
space:
mode:
authorKarsten Keil2006-07-10 13:44:11 +0200
committerLinus Torvalds2006-07-10 22:24:15 +0200
commit67eb5db5874076db01febed5a1a9281628fa9fb4 (patch)
tree5116e91370d700c5eb497f13a24f10203baf5caa /drivers/isdn/hisax/jade.c
parent[PATCH] Updates CREDITS file (diff)
downloadkernel-qcow2-linux-67eb5db5874076db01febed5a1a9281628fa9fb4.tar.gz
kernel-qcow2-linux-67eb5db5874076db01febed5a1a9281628fa9fb4.tar.xz
kernel-qcow2-linux-67eb5db5874076db01febed5a1a9281628fa9fb4.zip
[PATCH] hisax: fix usage of __init*
Fix the warnings about the section mismatches for __init* in the HiSax driver. Signed-off-by: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/hisax/jade.c')
-rw-r--r--drivers/isdn/hisax/jade.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/hisax/jade.c b/drivers/isdn/hisax/jade.c
index 2659fecc2674..43d61d1bc5b6 100644
--- a/drivers/isdn/hisax/jade.c
+++ b/drivers/isdn/hisax/jade.c
@@ -19,7 +19,7 @@
#include <linux/interrupt.h>
-int __init
+int
JadeVersion(struct IsdnCardState *cs, char *s)
{
int ver,i;
@@ -253,7 +253,7 @@ setstack_jade(struct PStack *st, struct BCState *bcs)
return (0);
}
-void __init
+void
clear_pending_jade_ints(struct IsdnCardState *cs)
{
int val;
@@ -279,7 +279,7 @@ clear_pending_jade_ints(struct IsdnCardState *cs)
cs->BC_Write_Reg(cs, 1, jade_HDLC_IMR, 0xF8);
}
-void __init
+void
initjade(struct IsdnCardState *cs)
{
cs->bcs[0].BC_SetStack = setstack_jade;