diff options
Diffstat (limited to 'sound/isa/sb/sb16.c')
-rw-r--r-- | sound/isa/sb/sb16.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sound/isa/sb/sb16.c b/sound/isa/sb/sb16.c index 39b8eca15213..50dbec454f98 100644 --- a/sound/isa/sb/sb16.c +++ b/sound/isa/sb/sb16.c | |||
@@ -250,9 +250,9 @@ MODULE_DEVICE_TABLE(pnp_card, snd_sb16_pnpids); | |||
250 | 250 | ||
251 | #ifdef CONFIG_PNP | 251 | #ifdef CONFIG_PNP |
252 | 252 | ||
253 | static int __devinit snd_card_sb16_pnp(int dev, struct snd_card_sb16 *acard, | 253 | static int snd_card_sb16_pnp(int dev, struct snd_card_sb16 *acard, |
254 | struct pnp_card_link *card, | 254 | struct pnp_card_link *card, |
255 | const struct pnp_card_device_id *id) | 255 | const struct pnp_card_device_id *id) |
256 | { | 256 | { |
257 | struct pnp_dev *pdev; | 257 | struct pnp_dev *pdev; |
258 | int err; | 258 | int err; |
@@ -337,7 +337,7 @@ static int snd_sb16_card_new(int dev, struct snd_card **cardp) | |||
337 | return 0; | 337 | return 0; |
338 | } | 338 | } |
339 | 339 | ||
340 | static int __devinit snd_sb16_probe(struct snd_card *card, int dev) | 340 | static int snd_sb16_probe(struct snd_card *card, int dev) |
341 | { | 341 | { |
342 | int xirq, xdma8, xdma16; | 342 | int xirq, xdma8, xdma16; |
343 | struct snd_sb *chip; | 343 | struct snd_sb *chip; |
@@ -487,7 +487,7 @@ static int snd_sb16_resume(struct snd_card *card) | |||
487 | } | 487 | } |
488 | #endif | 488 | #endif |
489 | 489 | ||
490 | static int __devinit snd_sb16_isa_probe1(int dev, struct device *pdev) | 490 | static int snd_sb16_isa_probe1(int dev, struct device *pdev) |
491 | { | 491 | { |
492 | struct snd_card_sb16 *acard; | 492 | struct snd_card_sb16 *acard; |
493 | struct snd_card *card; | 493 | struct snd_card *card; |
@@ -517,12 +517,12 @@ static int __devinit snd_sb16_isa_probe1(int dev, struct device *pdev) | |||
517 | } | 517 | } |
518 | 518 | ||
519 | 519 | ||
520 | static int __devinit snd_sb16_isa_match(struct device *pdev, unsigned int dev) | 520 | static int snd_sb16_isa_match(struct device *pdev, unsigned int dev) |
521 | { | 521 | { |
522 | return enable[dev] && !is_isapnp_selected(dev); | 522 | return enable[dev] && !is_isapnp_selected(dev); |
523 | } | 523 | } |
524 | 524 | ||
525 | static int __devinit snd_sb16_isa_probe(struct device *pdev, unsigned int dev) | 525 | static int snd_sb16_isa_probe(struct device *pdev, unsigned int dev) |
526 | { | 526 | { |
527 | int err; | 527 | int err; |
528 | static int possible_irqs[] = {5, 9, 10, 7, -1}; | 528 | static int possible_irqs[] = {5, 9, 10, 7, -1}; |
@@ -563,7 +563,7 @@ static int __devinit snd_sb16_isa_probe(struct device *pdev, unsigned int dev) | |||
563 | } | 563 | } |
564 | } | 564 | } |
565 | 565 | ||
566 | static int __devexit snd_sb16_isa_remove(struct device *pdev, unsigned int dev) | 566 | static int snd_sb16_isa_remove(struct device *pdev, unsigned int dev) |
567 | { | 567 | { |
568 | snd_card_free(dev_get_drvdata(pdev)); | 568 | snd_card_free(dev_get_drvdata(pdev)); |
569 | dev_set_drvdata(pdev, NULL); | 569 | dev_set_drvdata(pdev, NULL); |
@@ -592,7 +592,7 @@ static int snd_sb16_isa_resume(struct device *dev, unsigned int n) | |||
592 | static struct isa_driver snd_sb16_isa_driver = { | 592 | static struct isa_driver snd_sb16_isa_driver = { |
593 | .match = snd_sb16_isa_match, | 593 | .match = snd_sb16_isa_match, |
594 | .probe = snd_sb16_isa_probe, | 594 | .probe = snd_sb16_isa_probe, |
595 | .remove = __devexit_p(snd_sb16_isa_remove), | 595 | .remove = snd_sb16_isa_remove, |
596 | #ifdef CONFIG_PM | 596 | #ifdef CONFIG_PM |
597 | .suspend = snd_sb16_isa_suspend, | 597 | .suspend = snd_sb16_isa_suspend, |
598 | .resume = snd_sb16_isa_resume, | 598 | .resume = snd_sb16_isa_resume, |
@@ -604,8 +604,8 @@ static struct isa_driver snd_sb16_isa_driver = { | |||
604 | 604 | ||
605 | 605 | ||
606 | #ifdef CONFIG_PNP | 606 | #ifdef CONFIG_PNP |
607 | static int __devinit snd_sb16_pnp_detect(struct pnp_card_link *pcard, | 607 | static int snd_sb16_pnp_detect(struct pnp_card_link *pcard, |
608 | const struct pnp_card_device_id *pid) | 608 | const struct pnp_card_device_id *pid) |
609 | { | 609 | { |
610 | static int dev; | 610 | static int dev; |
611 | struct snd_card *card; | 611 | struct snd_card *card; |
@@ -631,7 +631,7 @@ static int __devinit snd_sb16_pnp_detect(struct pnp_card_link *pcard, | |||
631 | return -ENODEV; | 631 | return -ENODEV; |
632 | } | 632 | } |
633 | 633 | ||
634 | static void __devexit snd_sb16_pnp_remove(struct pnp_card_link * pcard) | 634 | static void snd_sb16_pnp_remove(struct pnp_card_link *pcard) |
635 | { | 635 | { |
636 | snd_card_free(pnp_get_card_drvdata(pcard)); | 636 | snd_card_free(pnp_get_card_drvdata(pcard)); |
637 | pnp_set_card_drvdata(pcard, NULL); | 637 | pnp_set_card_drvdata(pcard, NULL); |
@@ -657,7 +657,7 @@ static struct pnp_card_driver sb16_pnpc_driver = { | |||
657 | #endif | 657 | #endif |
658 | .id_table = snd_sb16_pnpids, | 658 | .id_table = snd_sb16_pnpids, |
659 | .probe = snd_sb16_pnp_detect, | 659 | .probe = snd_sb16_pnp_detect, |
660 | .remove = __devexit_p(snd_sb16_pnp_remove), | 660 | .remove = snd_sb16_pnp_remove, |
661 | #ifdef CONFIG_PM | 661 | #ifdef CONFIG_PM |
662 | .suspend = snd_sb16_pnp_suspend, | 662 | .suspend = snd_sb16_pnp_suspend, |
663 | .resume = snd_sb16_pnp_resume, | 663 | .resume = snd_sb16_pnp_resume, |