diff options
Diffstat (limited to 'drivers/isdn/hisax')
-rw-r--r-- | drivers/isdn/hisax/avm_a1p.c | 3 | ||||
-rw-r--r-- | drivers/isdn/hisax/config.c | 7 | ||||
-rw-r--r-- | drivers/isdn/hisax/hfc_sx.c | 3 | ||||
-rw-r--r-- | drivers/isdn/hisax/isac.c | 9 | ||||
-rw-r--r-- | drivers/isdn/hisax/isar.c | 3 |
5 files changed, 11 insertions, 14 deletions
diff --git a/drivers/isdn/hisax/avm_a1p.c b/drivers/isdn/hisax/avm_a1p.c index c87fa3f9b298..3039c6d68fc4 100644 --- a/drivers/isdn/hisax/avm_a1p.c +++ b/drivers/isdn/hisax/avm_a1p.c | |||
@@ -213,8 +213,7 @@ AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg) | |||
213 | return 0; | 213 | return 0; |
214 | } | 214 | } |
215 | 215 | ||
216 | int | 216 | int __devinit setup_avm_a1_pcmcia(struct IsdnCard *card) |
217 | setup_avm_a1_pcmcia(struct IsdnCard *card) | ||
218 | { | 217 | { |
219 | u_char model, vers; | 218 | u_char model, vers; |
220 | struct IsdnCardState *cs = card->cs; | 219 | struct IsdnCardState *cs = card->cs; |
diff --git a/drivers/isdn/hisax/config.c b/drivers/isdn/hisax/config.c index 97097ef3491e..a0ee43c04dd5 100644 --- a/drivers/isdn/hisax/config.c +++ b/drivers/isdn/hisax/config.c | |||
@@ -847,7 +847,7 @@ static int init_card(struct IsdnCardState *cs) | |||
847 | return 3; | 847 | return 3; |
848 | } | 848 | } |
849 | 849 | ||
850 | static int hisax_cs_setup_card(struct IsdnCard *card) | 850 | static int __devinit hisax_cs_setup_card(struct IsdnCard *card) |
851 | { | 851 | { |
852 | int ret; | 852 | int ret; |
853 | 853 | ||
@@ -1166,7 +1166,10 @@ outf_cs: | |||
1166 | return 0; | 1166 | return 0; |
1167 | } | 1167 | } |
1168 | 1168 | ||
1169 | static int checkcard(int cardnr, char *id, int *busy_flag, struct module *lockowner) | 1169 | /* Used from an exported function but calls __devinit functions. |
1170 | * Tell modpost not to warn (__ref) | ||
1171 | */ | ||
1172 | static int __ref checkcard(int cardnr, char *id, int *busy_flag, struct module *lockowner) | ||
1170 | { | 1173 | { |
1171 | int ret; | 1174 | int ret; |
1172 | struct IsdnCard *card = cards + cardnr; | 1175 | struct IsdnCard *card = cards + cardnr; |
diff --git a/drivers/isdn/hisax/hfc_sx.c b/drivers/isdn/hisax/hfc_sx.c index 4fd09d21a27f..05482d2688e3 100644 --- a/drivers/isdn/hisax/hfc_sx.c +++ b/drivers/isdn/hisax/hfc_sx.c | |||
@@ -1330,8 +1330,7 @@ hfcsx_bh(struct work_struct *work) | |||
1330 | /********************************/ | 1330 | /********************************/ |
1331 | /* called for card init message */ | 1331 | /* called for card init message */ |
1332 | /********************************/ | 1332 | /********************************/ |
1333 | static void __devinit | 1333 | static void inithfcsx(struct IsdnCardState *cs) |
1334 | inithfcsx(struct IsdnCardState *cs) | ||
1335 | { | 1334 | { |
1336 | cs->setstack_d = setstack_hfcsx; | 1335 | cs->setstack_d = setstack_hfcsx; |
1337 | cs->BC_Send_Data = &hfcsx_send_data; | 1336 | cs->BC_Send_Data = &hfcsx_send_data; |
diff --git a/drivers/isdn/hisax/isac.c b/drivers/isdn/hisax/isac.c index 4e9f23803dae..07b1673122b8 100644 --- a/drivers/isdn/hisax/isac.c +++ b/drivers/isdn/hisax/isac.c | |||
@@ -27,8 +27,7 @@ static char *ISACVer[] __devinitdata = | |||
27 | {"2086/2186 V1.1", "2085 B1", "2085 B2", | 27 | {"2086/2186 V1.1", "2085 B1", "2085 B2", |
28 | "2085 V2.3"}; | 28 | "2085 V2.3"}; |
29 | 29 | ||
30 | void | 30 | void __devinit ISACVersion(struct IsdnCardState *cs, char *s) |
31 | ISACVersion(struct IsdnCardState *cs, char *s) | ||
32 | { | 31 | { |
33 | int val; | 32 | int val; |
34 | 33 | ||
@@ -616,8 +615,7 @@ dbusy_timer_handler(struct IsdnCardState *cs) | |||
616 | } | 615 | } |
617 | } | 616 | } |
618 | 617 | ||
619 | void __devinit | 618 | void initisac(struct IsdnCardState *cs) |
620 | initisac(struct IsdnCardState *cs) | ||
621 | { | 619 | { |
622 | cs->setstack_d = setstack_isac; | 620 | cs->setstack_d = setstack_isac; |
623 | cs->DC_Close = DC_Close_isac; | 621 | cs->DC_Close = DC_Close_isac; |
@@ -648,8 +646,7 @@ initisac(struct IsdnCardState *cs) | |||
648 | cs->writeisac(cs, ISAC_MASK, 0x0); | 646 | cs->writeisac(cs, ISAC_MASK, 0x0); |
649 | } | 647 | } |
650 | 648 | ||
651 | void __devinit | 649 | void clear_pending_isac_ints(struct IsdnCardState *cs) |
652 | clear_pending_isac_ints(struct IsdnCardState *cs) | ||
653 | { | 650 | { |
654 | int val, eval; | 651 | int val, eval; |
655 | 652 | ||
diff --git a/drivers/isdn/hisax/isar.c b/drivers/isdn/hisax/isar.c index c547a6665052..bfeb9b6aa043 100644 --- a/drivers/isdn/hisax/isar.c +++ b/drivers/isdn/hisax/isar.c | |||
@@ -1894,8 +1894,7 @@ isar_auxcmd(struct IsdnCardState *cs, isdn_ctrl *ic) { | |||
1894 | return(0); | 1894 | return(0); |
1895 | } | 1895 | } |
1896 | 1896 | ||
1897 | void __devinit | 1897 | void initisar(struct IsdnCardState *cs) |
1898 | initisar(struct IsdnCardState *cs) | ||
1899 | { | 1898 | { |
1900 | cs->bcs[0].BC_SetStack = setstack_isar; | 1899 | cs->bcs[0].BC_SetStack = setstack_isar; |
1901 | cs->bcs[1].BC_SetStack = setstack_isar; | 1900 | cs->bcs[1].BC_SetStack = setstack_isar; |