aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/isdn/hisax/config.c7
1 files changed, 5 insertions, 2 deletions
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
850static int hisax_cs_setup_card(struct IsdnCard *card) 850static 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
1169static 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 */
1172static 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;