diff options
Diffstat (limited to 'drivers/isdn/hisax/sedlbauer.c')
-rw-r--r-- | drivers/isdn/hisax/sedlbauer.c | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/drivers/isdn/hisax/sedlbauer.c b/drivers/isdn/hisax/sedlbauer.c index 1ee531b6be99..f16a47bcef48 100644 --- a/drivers/isdn/hisax/sedlbauer.c +++ b/drivers/isdn/hisax/sedlbauer.c | |||
@@ -517,7 +517,7 @@ Sedl_card_msg(struct IsdnCardState *cs, int mt, void *arg) | |||
517 | } | 517 | } |
518 | 518 | ||
519 | #ifdef __ISAPNP__ | 519 | #ifdef __ISAPNP__ |
520 | static struct isapnp_device_id sedl_ids[] __devinitdata = { | 520 | static struct isapnp_device_id sedl_ids[] = { |
521 | { ISAPNP_VENDOR('S', 'A', 'G'), ISAPNP_FUNCTION(0x01), | 521 | { ISAPNP_VENDOR('S', 'A', 'G'), ISAPNP_FUNCTION(0x01), |
522 | ISAPNP_VENDOR('S', 'A', 'G'), ISAPNP_FUNCTION(0x01), | 522 | ISAPNP_VENDOR('S', 'A', 'G'), ISAPNP_FUNCTION(0x01), |
523 | (unsigned long) "Speed win" }, | 523 | (unsigned long) "Speed win" }, |
@@ -527,11 +527,10 @@ static struct isapnp_device_id sedl_ids[] __devinitdata = { | |||
527 | { 0, } | 527 | { 0, } |
528 | }; | 528 | }; |
529 | 529 | ||
530 | static struct isapnp_device_id *ipid __devinitdata = &sedl_ids[0]; | 530 | static struct isapnp_device_id *ipid = &sedl_ids[0]; |
531 | static struct pnp_card *pnp_c __devinitdata = NULL; | 531 | static struct pnp_card *pnp_c = NULL; |
532 | 532 | ||
533 | static int __devinit | 533 | static int setup_sedlbauer_isapnp(struct IsdnCard *card, int *bytecnt) |
534 | setup_sedlbauer_isapnp(struct IsdnCard *card, int *bytecnt) | ||
535 | { | 534 | { |
536 | struct IsdnCardState *cs = card->cs; | 535 | struct IsdnCardState *cs = card->cs; |
537 | struct pnp_dev *pnp_d; | 536 | struct pnp_dev *pnp_d; |
@@ -591,18 +590,16 @@ setup_sedlbauer_isapnp(struct IsdnCard *card, int *bytecnt) | |||
591 | } | 590 | } |
592 | #else | 591 | #else |
593 | 592 | ||
594 | static int __devinit | 593 | static int setup_sedlbauer_isapnp(struct IsdnCard *card, int *bytecnt) |
595 | setup_sedlbauer_isapnp(struct IsdnCard *card, int *bytecnt) | ||
596 | { | 594 | { |
597 | return -1; | 595 | return -1; |
598 | } | 596 | } |
599 | #endif /* __ISAPNP__ */ | 597 | #endif /* __ISAPNP__ */ |
600 | 598 | ||
601 | #ifdef CONFIG_PCI | 599 | #ifdef CONFIG_PCI |
602 | static struct pci_dev *dev_sedl __devinitdata = NULL; | 600 | static struct pci_dev *dev_sedl = NULL; |
603 | 601 | ||
604 | static int __devinit | 602 | static int setup_sedlbauer_pci(struct IsdnCard *card) |
605 | setup_sedlbauer_pci(struct IsdnCard *card) | ||
606 | { | 603 | { |
607 | struct IsdnCardState *cs = card->cs; | 604 | struct IsdnCardState *cs = card->cs; |
608 | u16 sub_vendor_id, sub_id; | 605 | u16 sub_vendor_id, sub_id; |
@@ -667,16 +664,14 @@ setup_sedlbauer_pci(struct IsdnCard *card) | |||
667 | 664 | ||
668 | #else | 665 | #else |
669 | 666 | ||
670 | static int __devinit | 667 | static int setup_sedlbauer_pci(struct IsdnCard *card) |
671 | setup_sedlbauer_pci(struct IsdnCard *card) | ||
672 | { | 668 | { |
673 | return (1); | 669 | return (1); |
674 | } | 670 | } |
675 | 671 | ||
676 | #endif /* CONFIG_PCI */ | 672 | #endif /* CONFIG_PCI */ |
677 | 673 | ||
678 | int __devinit | 674 | int setup_sedlbauer(struct IsdnCard *card) |
679 | setup_sedlbauer(struct IsdnCard *card) | ||
680 | { | 675 | { |
681 | int bytecnt = 8, ver, val, rc; | 676 | int bytecnt = 8, ver, val, rc; |
682 | struct IsdnCardState *cs = card->cs; | 677 | struct IsdnCardState *cs = card->cs; |