summaryrefslogtreecommitdiff
path: root/drivers/isdn/hisax/sportster.c
diff options
context:
space:
mode:
authorKarsten Keil <kkeil@suse.de>2006-07-10 15:44:11 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-11 00:24:15 +0400
commit67eb5db5874076db01febed5a1a9281628fa9fb4 (patch)
tree5116e91370d700c5eb497f13a24f10203baf5caa /drivers/isdn/hisax/sportster.c
parentacbf8bd738f1357e0e3b97b918bef5be272b176e (diff)
downloadlinux-67eb5db5874076db01febed5a1a9281628fa9fb4.tar.xz
[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/sportster.c')
-rw-r--r--drivers/isdn/hisax/sportster.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/sportster.c b/drivers/isdn/hisax/sportster.c
index cdf35dc564c4..a49b694eb730 100644
--- a/drivers/isdn/hisax/sportster.c
+++ b/drivers/isdn/hisax/sportster.c
@@ -184,7 +184,7 @@ Sportster_card_msg(struct IsdnCardState *cs, int mt, void *arg)
return(0);
}
-static int __init
+static int __devinit
get_io_range(struct IsdnCardState *cs)
{
int i, j, adr;
@@ -209,7 +209,7 @@ get_io_range(struct IsdnCardState *cs)
}
}
-int __init
+int __devinit
setup_sportster(struct IsdnCard *card)
{
struct IsdnCardState *cs = card->cs;