diff options
Diffstat (limited to 'sound/drivers/mts64.c')
-rw-r--r-- | sound/drivers/mts64.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/sound/drivers/mts64.c b/sound/drivers/mts64.c index 2d5514b0a290..4e0dd22ba08e 100644 --- a/sound/drivers/mts64.c +++ b/sound/drivers/mts64.c | |||
@@ -83,9 +83,9 @@ static int snd_mts64_free(struct mts64 *mts) | |||
83 | return 0; | 83 | return 0; |
84 | } | 84 | } |
85 | 85 | ||
86 | static int __devinit snd_mts64_create(struct snd_card *card, | 86 | static int snd_mts64_create(struct snd_card *card, |
87 | struct pardevice *pardev, | 87 | struct pardevice *pardev, |
88 | struct mts64 **rchip) | 88 | struct mts64 **rchip) |
89 | { | 89 | { |
90 | struct mts64 *mts; | 90 | struct mts64 *mts; |
91 | 91 | ||
@@ -214,7 +214,7 @@ static int mts64_device_ready(struct parport *p) | |||
214 | * 0 init ok | 214 | * 0 init ok |
215 | * -EIO failure | 215 | * -EIO failure |
216 | */ | 216 | */ |
217 | static int __devinit mts64_device_init(struct parport *p) | 217 | static int mts64_device_init(struct parport *p) |
218 | { | 218 | { |
219 | int i; | 219 | int i; |
220 | 220 | ||
@@ -290,7 +290,7 @@ static u8 mts64_map_midi_input(u8 c) | |||
290 | * 0 device found | 290 | * 0 device found |
291 | * -ENODEV no device | 291 | * -ENODEV no device |
292 | */ | 292 | */ |
293 | static int __devinit mts64_probe(struct parport *p) | 293 | static int mts64_probe(struct parport *p) |
294 | { | 294 | { |
295 | u8 c; | 295 | u8 c; |
296 | 296 | ||
@@ -483,7 +483,7 @@ __out: | |||
483 | return changed; | 483 | return changed; |
484 | } | 484 | } |
485 | 485 | ||
486 | static struct snd_kcontrol_new mts64_ctl_smpte_switch __devinitdata = { | 486 | static struct snd_kcontrol_new mts64_ctl_smpte_switch = { |
487 | .iface = SNDRV_CTL_ELEM_IFACE_RAWMIDI, | 487 | .iface = SNDRV_CTL_ELEM_IFACE_RAWMIDI, |
488 | .name = "SMPTE Playback Switch", | 488 | .name = "SMPTE Playback Switch", |
489 | .index = 0, | 489 | .index = 0, |
@@ -556,7 +556,7 @@ static int snd_mts64_ctl_smpte_time_put(struct snd_kcontrol *kctl, | |||
556 | return changed; | 556 | return changed; |
557 | } | 557 | } |
558 | 558 | ||
559 | static struct snd_kcontrol_new mts64_ctl_smpte_time_hours __devinitdata = { | 559 | static struct snd_kcontrol_new mts64_ctl_smpte_time_hours = { |
560 | .iface = SNDRV_CTL_ELEM_IFACE_RAWMIDI, | 560 | .iface = SNDRV_CTL_ELEM_IFACE_RAWMIDI, |
561 | .name = "SMPTE Time Hours", | 561 | .name = "SMPTE Time Hours", |
562 | .index = 0, | 562 | .index = 0, |
@@ -567,7 +567,7 @@ static struct snd_kcontrol_new mts64_ctl_smpte_time_hours __devinitdata = { | |||
567 | .put = snd_mts64_ctl_smpte_time_put | 567 | .put = snd_mts64_ctl_smpte_time_put |
568 | }; | 568 | }; |
569 | 569 | ||
570 | static struct snd_kcontrol_new mts64_ctl_smpte_time_minutes __devinitdata = { | 570 | static struct snd_kcontrol_new mts64_ctl_smpte_time_minutes = { |
571 | .iface = SNDRV_CTL_ELEM_IFACE_RAWMIDI, | 571 | .iface = SNDRV_CTL_ELEM_IFACE_RAWMIDI, |
572 | .name = "SMPTE Time Minutes", | 572 | .name = "SMPTE Time Minutes", |
573 | .index = 0, | 573 | .index = 0, |
@@ -578,7 +578,7 @@ static struct snd_kcontrol_new mts64_ctl_smpte_time_minutes __devinitdata = { | |||
578 | .put = snd_mts64_ctl_smpte_time_put | 578 | .put = snd_mts64_ctl_smpte_time_put |
579 | }; | 579 | }; |
580 | 580 | ||
581 | static struct snd_kcontrol_new mts64_ctl_smpte_time_seconds __devinitdata = { | 581 | static struct snd_kcontrol_new mts64_ctl_smpte_time_seconds = { |
582 | .iface = SNDRV_CTL_ELEM_IFACE_RAWMIDI, | 582 | .iface = SNDRV_CTL_ELEM_IFACE_RAWMIDI, |
583 | .name = "SMPTE Time Seconds", | 583 | .name = "SMPTE Time Seconds", |
584 | .index = 0, | 584 | .index = 0, |
@@ -589,7 +589,7 @@ static struct snd_kcontrol_new mts64_ctl_smpte_time_seconds __devinitdata = { | |||
589 | .put = snd_mts64_ctl_smpte_time_put | 589 | .put = snd_mts64_ctl_smpte_time_put |
590 | }; | 590 | }; |
591 | 591 | ||
592 | static struct snd_kcontrol_new mts64_ctl_smpte_time_frames __devinitdata = { | 592 | static struct snd_kcontrol_new mts64_ctl_smpte_time_frames = { |
593 | .iface = SNDRV_CTL_ELEM_IFACE_RAWMIDI, | 593 | .iface = SNDRV_CTL_ELEM_IFACE_RAWMIDI, |
594 | .name = "SMPTE Time Frames", | 594 | .name = "SMPTE Time Frames", |
595 | .index = 0, | 595 | .index = 0, |
@@ -651,7 +651,7 @@ static int snd_mts64_ctl_smpte_fps_put(struct snd_kcontrol *kctl, | |||
651 | return changed; | 651 | return changed; |
652 | } | 652 | } |
653 | 653 | ||
654 | static struct snd_kcontrol_new mts64_ctl_smpte_fps __devinitdata = { | 654 | static struct snd_kcontrol_new mts64_ctl_smpte_fps = { |
655 | .iface = SNDRV_CTL_ELEM_IFACE_RAWMIDI, | 655 | .iface = SNDRV_CTL_ELEM_IFACE_RAWMIDI, |
656 | .name = "SMPTE Fps", | 656 | .name = "SMPTE Fps", |
657 | .index = 0, | 657 | .index = 0, |
@@ -663,11 +663,11 @@ static struct snd_kcontrol_new mts64_ctl_smpte_fps __devinitdata = { | |||
663 | }; | 663 | }; |
664 | 664 | ||
665 | 665 | ||
666 | static int __devinit snd_mts64_ctl_create(struct snd_card *card, | 666 | static int snd_mts64_ctl_create(struct snd_card *card, |
667 | struct mts64 *mts) | 667 | struct mts64 *mts) |
668 | { | 668 | { |
669 | int err, i; | 669 | int err, i; |
670 | static struct snd_kcontrol_new *control[] __devinitdata = { | 670 | static struct snd_kcontrol_new *control[] = { |
671 | &mts64_ctl_smpte_switch, | 671 | &mts64_ctl_smpte_switch, |
672 | &mts64_ctl_smpte_time_hours, | 672 | &mts64_ctl_smpte_time_hours, |
673 | &mts64_ctl_smpte_time_minutes, | 673 | &mts64_ctl_smpte_time_minutes, |
@@ -774,7 +774,7 @@ static struct snd_rawmidi_ops snd_mts64_rawmidi_input_ops = { | |||
774 | }; | 774 | }; |
775 | 775 | ||
776 | /* Create and initialize the rawmidi component */ | 776 | /* Create and initialize the rawmidi component */ |
777 | static int __devinit snd_mts64_rawmidi_create(struct snd_card *card) | 777 | static int snd_mts64_rawmidi_create(struct snd_card *card) |
778 | { | 778 | { |
779 | struct mts64 *mts = card->private_data; | 779 | struct mts64 *mts = card->private_data; |
780 | struct snd_rawmidi *rmidi; | 780 | struct snd_rawmidi *rmidi; |
@@ -860,7 +860,7 @@ __out: | |||
860 | spin_unlock(&mts->lock); | 860 | spin_unlock(&mts->lock); |
861 | } | 861 | } |
862 | 862 | ||
863 | static int __devinit snd_mts64_probe_port(struct parport *p) | 863 | static int snd_mts64_probe_port(struct parport *p) |
864 | { | 864 | { |
865 | struct pardevice *pardev; | 865 | struct pardevice *pardev; |
866 | int res; | 866 | int res; |
@@ -884,7 +884,7 @@ static int __devinit snd_mts64_probe_port(struct parport *p) | |||
884 | return res; | 884 | return res; |
885 | } | 885 | } |
886 | 886 | ||
887 | static void __devinit snd_mts64_attach(struct parport *p) | 887 | static void snd_mts64_attach(struct parport *p) |
888 | { | 888 | { |
889 | struct platform_device *device; | 889 | struct platform_device *device; |
890 | 890 | ||
@@ -940,7 +940,7 @@ static void snd_mts64_card_private_free(struct snd_card *card) | |||
940 | snd_mts64_free(mts); | 940 | snd_mts64_free(mts); |
941 | } | 941 | } |
942 | 942 | ||
943 | static int __devinit snd_mts64_probe(struct platform_device *pdev) | 943 | static int snd_mts64_probe(struct platform_device *pdev) |
944 | { | 944 | { |
945 | struct pardevice *pardev; | 945 | struct pardevice *pardev; |
946 | struct parport *p; | 946 | struct parport *p; |
@@ -1025,7 +1025,7 @@ __err: | |||
1025 | return err; | 1025 | return err; |
1026 | } | 1026 | } |
1027 | 1027 | ||
1028 | static int __devexit snd_mts64_remove(struct platform_device *pdev) | 1028 | static int snd_mts64_remove(struct platform_device *pdev) |
1029 | { | 1029 | { |
1030 | struct snd_card *card = platform_get_drvdata(pdev); | 1030 | struct snd_card *card = platform_get_drvdata(pdev); |
1031 | 1031 | ||
@@ -1038,7 +1038,7 @@ static int __devexit snd_mts64_remove(struct platform_device *pdev) | |||
1038 | 1038 | ||
1039 | static struct platform_driver snd_mts64_driver = { | 1039 | static struct platform_driver snd_mts64_driver = { |
1040 | .probe = snd_mts64_probe, | 1040 | .probe = snd_mts64_probe, |
1041 | .remove = __devexit_p(snd_mts64_remove), | 1041 | .remove = snd_mts64_remove, |
1042 | .driver = { | 1042 | .driver = { |
1043 | .name = PLATFORM_DRIVER, | 1043 | .name = PLATFORM_DRIVER, |
1044 | .owner = THIS_MODULE, | 1044 | .owner = THIS_MODULE, |