diff options
Diffstat (limited to 'drivers/isdn/hisax/ipacx.c')
-rw-r--r-- | drivers/isdn/hisax/ipacx.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/isdn/hisax/ipacx.c b/drivers/isdn/hisax/ipacx.c index df5fc92a89b2..00afd5538909 100644 --- a/drivers/isdn/hisax/ipacx.c +++ b/drivers/isdn/hisax/ipacx.c | |||
@@ -38,8 +38,8 @@ static void dbusy_timer_handler(struct IsdnCardState *cs); | |||
38 | static void dch_empty_fifo(struct IsdnCardState *cs, int count); | 38 | static void dch_empty_fifo(struct IsdnCardState *cs, int count); |
39 | static void dch_fill_fifo(struct IsdnCardState *cs); | 39 | static void dch_fill_fifo(struct IsdnCardState *cs); |
40 | static inline void dch_int(struct IsdnCardState *cs); | 40 | static inline void dch_int(struct IsdnCardState *cs); |
41 | static void __devinit dch_setstack(struct PStack *st, struct IsdnCardState *cs); | 41 | static void dch_setstack(struct PStack *st, struct IsdnCardState *cs); |
42 | static void __devinit dch_init(struct IsdnCardState *cs); | 42 | static void dch_init(struct IsdnCardState *cs); |
43 | static void bch_l2l1(struct PStack *st, int pr, void *arg); | 43 | static void bch_l2l1(struct PStack *st, int pr, void *arg); |
44 | static void bch_empty_fifo(struct BCState *bcs, int count); | 44 | static void bch_empty_fifo(struct BCState *bcs, int count); |
45 | static void bch_fill_fifo(struct BCState *bcs); | 45 | static void bch_fill_fifo(struct BCState *bcs); |
@@ -48,8 +48,8 @@ static void bch_mode(struct BCState *bcs, int mode, int bc); | |||
48 | static void bch_close_state(struct BCState *bcs); | 48 | static void bch_close_state(struct BCState *bcs); |
49 | static int bch_open_state(struct IsdnCardState *cs, struct BCState *bcs); | 49 | static int bch_open_state(struct IsdnCardState *cs, struct BCState *bcs); |
50 | static int bch_setstack(struct PStack *st, struct BCState *bcs); | 50 | static int bch_setstack(struct PStack *st, struct BCState *bcs); |
51 | static void __devinit bch_init(struct IsdnCardState *cs, int hscx); | 51 | static void bch_init(struct IsdnCardState *cs, int hscx); |
52 | static void __init clear_pending_ints(struct IsdnCardState *cs); | 52 | static void clear_pending_ints(struct IsdnCardState *cs); |
53 | 53 | ||
54 | //---------------------------------------------------------- | 54 | //---------------------------------------------------------- |
55 | // Issue Layer 1 command to chip | 55 | // Issue Layer 1 command to chip |
@@ -408,7 +408,7 @@ dch_int(struct IsdnCardState *cs) | |||
408 | 408 | ||
409 | //---------------------------------------------------------- | 409 | //---------------------------------------------------------- |
410 | //---------------------------------------------------------- | 410 | //---------------------------------------------------------- |
411 | static void __devinit | 411 | static void |
412 | dch_setstack(struct PStack *st, struct IsdnCardState *cs) | 412 | dch_setstack(struct PStack *st, struct IsdnCardState *cs) |
413 | { | 413 | { |
414 | st->l1.l1hw = dch_l2l1; | 414 | st->l1.l1hw = dch_l2l1; |
@@ -416,7 +416,7 @@ dch_setstack(struct PStack *st, struct IsdnCardState *cs) | |||
416 | 416 | ||
417 | //---------------------------------------------------------- | 417 | //---------------------------------------------------------- |
418 | //---------------------------------------------------------- | 418 | //---------------------------------------------------------- |
419 | static void __devinit | 419 | static void |
420 | dch_init(struct IsdnCardState *cs) | 420 | dch_init(struct IsdnCardState *cs) |
421 | { | 421 | { |
422 | printk(KERN_INFO "HiSax: IPACX ISDN driver v0.1.0\n"); | 422 | printk(KERN_INFO "HiSax: IPACX ISDN driver v0.1.0\n"); |
@@ -823,7 +823,7 @@ bch_setstack(struct PStack *st, struct BCState *bcs) | |||
823 | 823 | ||
824 | //---------------------------------------------------------- | 824 | //---------------------------------------------------------- |
825 | //---------------------------------------------------------- | 825 | //---------------------------------------------------------- |
826 | static void __devinit | 826 | static void |
827 | bch_init(struct IsdnCardState *cs, int hscx) | 827 | bch_init(struct IsdnCardState *cs, int hscx) |
828 | { | 828 | { |
829 | cs->bcs[hscx].BC_SetStack = bch_setstack; | 829 | cs->bcs[hscx].BC_SetStack = bch_setstack; |
@@ -861,7 +861,7 @@ interrupt_ipacx(struct IsdnCardState *cs) | |||
861 | //---------------------------------------------------------- | 861 | //---------------------------------------------------------- |
862 | // Clears chip interrupt status | 862 | // Clears chip interrupt status |
863 | //---------------------------------------------------------- | 863 | //---------------------------------------------------------- |
864 | static void __init | 864 | static void |
865 | clear_pending_ints(struct IsdnCardState *cs) | 865 | clear_pending_ints(struct IsdnCardState *cs) |
866 | { | 866 | { |
867 | int ista; | 867 | int ista; |
@@ -883,7 +883,7 @@ clear_pending_ints(struct IsdnCardState *cs) | |||
883 | // Does chip configuration work | 883 | // Does chip configuration work |
884 | // Work to do depends on bit mask in part | 884 | // Work to do depends on bit mask in part |
885 | //---------------------------------------------------------- | 885 | //---------------------------------------------------------- |
886 | void __init | 886 | void |
887 | init_ipacx(struct IsdnCardState *cs, int part) | 887 | init_ipacx(struct IsdnCardState *cs, int part) |
888 | { | 888 | { |
889 | if (part &1) { // initialise chip | 889 | if (part &1) { // initialise chip |