aboutsummaryrefslogtreecommitdiff
path: root/drivers/isdn/hisax/isurf.c
diff options
context:
space:
mode:
authorKarsten Keil <kkeil@suse.de>2006-07-10 04:44:11 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-10 13:24:15 -0700
commit67eb5db5874076db01febed5a1a9281628fa9fb4 (patch)
tree5116e91370d700c5eb497f13a24f10203baf5caa /drivers/isdn/hisax/isurf.c
parentacbf8bd738f1357e0e3b97b918bef5be272b176e (diff)
[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/isurf.c')
-rw-r--r--drivers/isdn/hisax/isurf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/isurf.c b/drivers/isdn/hisax/isurf.c
index 33747afc984..715a1a8cd69 100644
--- a/drivers/isdn/hisax/isurf.c
+++ b/drivers/isdn/hisax/isurf.c
@@ -196,10 +196,10 @@ isurf_auxcmd(struct IsdnCardState *cs, isdn_ctrl *ic) {
}
#ifdef __ISAPNP__
-static struct pnp_card *pnp_c __initdata = NULL;
+static struct pnp_card *pnp_c __devinitdata = NULL;
#endif
-int __init
+int __devinit
setup_isurf(struct IsdnCard *card)
{
int ver;