diff options
Diffstat (limited to 'drivers/isdn/hisax/config.c')
-rw-r--r-- | drivers/isdn/hisax/config.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/isdn/hisax/config.c b/drivers/isdn/hisax/config.c index 1663ee69d41d..c542e6fb2bde 100644 --- a/drivers/isdn/hisax/config.c +++ b/drivers/isdn/hisax/config.c | |||
@@ -332,7 +332,7 @@ struct IsdnCard cards[HISAX_MAX_CARDS] = { | |||
332 | #define HISAX_IDSIZE (HISAX_MAX_CARDS*8) | 332 | #define HISAX_IDSIZE (HISAX_MAX_CARDS*8) |
333 | static char HiSaxID[HISAX_IDSIZE] = { 0, }; | 333 | static char HiSaxID[HISAX_IDSIZE] = { 0, }; |
334 | 334 | ||
335 | char *HiSax_id = HiSaxID; | 335 | static char *HiSax_id = HiSaxID; |
336 | #ifdef MODULE | 336 | #ifdef MODULE |
337 | /* Variables for insmod */ | 337 | /* Variables for insmod */ |
338 | static int type[HISAX_MAX_CARDS] = { 0, }; | 338 | static int type[HISAX_MAX_CARDS] = { 0, }; |
@@ -391,7 +391,7 @@ char *HiSax_getrev(const char *revision) | |||
391 | return rev; | 391 | return rev; |
392 | } | 392 | } |
393 | 393 | ||
394 | void __init HiSaxVersion(void) | 394 | static void __init HiSaxVersion(void) |
395 | { | 395 | { |
396 | char tmp[64]; | 396 | char tmp[64]; |
397 | 397 | ||
@@ -608,6 +608,7 @@ static inline struct IsdnCardState *hisax_findcard(int driverid) | |||
608 | /* | 608 | /* |
609 | * Find card with given card number | 609 | * Find card with given card number |
610 | */ | 610 | */ |
611 | #if 0 | ||
611 | struct IsdnCardState *hisax_get_card(int cardnr) | 612 | struct IsdnCardState *hisax_get_card(int cardnr) |
612 | { | 613 | { |
613 | if ((cardnr <= nrcards) && (cardnr > 0)) | 614 | if ((cardnr <= nrcards) && (cardnr > 0)) |
@@ -615,8 +616,9 @@ struct IsdnCardState *hisax_get_card(int cardnr) | |||
615 | return cards[cardnr - 1].cs; | 616 | return cards[cardnr - 1].cs; |
616 | return NULL; | 617 | return NULL; |
617 | } | 618 | } |
619 | #endif /* 0 */ | ||
618 | 620 | ||
619 | int HiSax_readstatus(u_char __user *buf, int len, int id, int channel) | 621 | static int HiSax_readstatus(u_char __user *buf, int len, int id, int channel) |
620 | { | 622 | { |
621 | int count, cnt; | 623 | int count, cnt; |
622 | u_char __user *p = buf; | 624 | u_char __user *p = buf; |
@@ -768,7 +770,7 @@ int ll_run(struct IsdnCardState *cs, int addfeatures) | |||
768 | return 0; | 770 | return 0; |
769 | } | 771 | } |
770 | 772 | ||
771 | void ll_stop(struct IsdnCardState *cs) | 773 | static void ll_stop(struct IsdnCardState *cs) |
772 | { | 774 | { |
773 | isdn_ctrl ic; | 775 | isdn_ctrl ic; |
774 | 776 | ||
@@ -1184,7 +1186,7 @@ static int checkcard(int cardnr, char *id, int *busy_flag, struct module *lockow | |||
1184 | return ret; | 1186 | return ret; |
1185 | } | 1187 | } |
1186 | 1188 | ||
1187 | void HiSax_shiftcards(int idx) | 1189 | static void HiSax_shiftcards(int idx) |
1188 | { | 1190 | { |
1189 | int i; | 1191 | int i; |
1190 | 1192 | ||
@@ -1192,7 +1194,7 @@ void HiSax_shiftcards(int idx) | |||
1192 | memcpy(&cards[i], &cards[i + 1], sizeof(cards[i])); | 1194 | memcpy(&cards[i], &cards[i + 1], sizeof(cards[i])); |
1193 | } | 1195 | } |
1194 | 1196 | ||
1195 | int HiSax_inithardware(int *busy_flag) | 1197 | static int HiSax_inithardware(int *busy_flag) |
1196 | { | 1198 | { |
1197 | int foundcards = 0; | 1199 | int foundcards = 0; |
1198 | int i = 0; | 1200 | int i = 0; |