diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/drivers/aloop.c | 16 | ||||
-rw-r--r-- | sound/drivers/dummy.c | 14 | ||||
-rw-r--r-- | sound/drivers/ml403-ac97cr.c | 10 | ||||
-rw-r--r-- | sound/drivers/mpu401/mpu401.c | 18 | ||||
-rw-r--r-- | sound/drivers/mtpav.c | 14 | ||||
-rw-r--r-- | sound/drivers/mts64.c | 40 | ||||
-rw-r--r-- | sound/drivers/pcsp/pcsp.c | 14 | ||||
-rw-r--r-- | sound/drivers/pcsp/pcsp_input.c | 2 | ||||
-rw-r--r-- | sound/drivers/pcsp/pcsp_input.h | 2 | ||||
-rw-r--r-- | sound/drivers/pcsp/pcsp_lib.c | 2 | ||||
-rw-r--r-- | sound/drivers/pcsp/pcsp_mixer.c | 10 | ||||
-rw-r--r-- | sound/drivers/portman2x4.c | 18 | ||||
-rw-r--r-- | sound/drivers/serial-u16550.c | 32 | ||||
-rw-r--r-- | sound/drivers/virmidi.c | 6 |
14 files changed, 99 insertions, 99 deletions
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index 1904046686e2..3d822328d383 100644 --- a/sound/drivers/aloop.c +++ b/sound/drivers/aloop.c | |||
@@ -774,8 +774,8 @@ static struct snd_pcm_ops loopback_capture_ops = { | |||
774 | .mmap = snd_pcm_lib_mmap_vmalloc, | 774 | .mmap = snd_pcm_lib_mmap_vmalloc, |
775 | }; | 775 | }; |
776 | 776 | ||
777 | static int __devinit loopback_pcm_new(struct loopback *loopback, | 777 | static int loopback_pcm_new(struct loopback *loopback, |
778 | int device, int substreams) | 778 | int device, int substreams) |
779 | { | 779 | { |
780 | struct snd_pcm *pcm; | 780 | struct snd_pcm *pcm; |
781 | int err; | 781 | int err; |
@@ -949,7 +949,7 @@ static int loopback_channels_get(struct snd_kcontrol *kcontrol, | |||
949 | return 0; | 949 | return 0; |
950 | } | 950 | } |
951 | 951 | ||
952 | static struct snd_kcontrol_new loopback_controls[] __devinitdata = { | 952 | static struct snd_kcontrol_new loopback_controls[] = { |
953 | { | 953 | { |
954 | .iface = SNDRV_CTL_ELEM_IFACE_PCM, | 954 | .iface = SNDRV_CTL_ELEM_IFACE_PCM, |
955 | .name = "PCM Rate Shift 100000", | 955 | .name = "PCM Rate Shift 100000", |
@@ -998,7 +998,7 @@ static struct snd_kcontrol_new loopback_controls[] __devinitdata = { | |||
998 | } | 998 | } |
999 | }; | 999 | }; |
1000 | 1000 | ||
1001 | static int __devinit loopback_mixer_new(struct loopback *loopback, int notify) | 1001 | static int loopback_mixer_new(struct loopback *loopback, int notify) |
1002 | { | 1002 | { |
1003 | struct snd_card *card = loopback->card; | 1003 | struct snd_card *card = loopback->card; |
1004 | struct snd_pcm *pcm; | 1004 | struct snd_pcm *pcm; |
@@ -1111,7 +1111,7 @@ static void print_cable_info(struct snd_info_entry *entry, | |||
1111 | mutex_unlock(&loopback->cable_lock); | 1111 | mutex_unlock(&loopback->cable_lock); |
1112 | } | 1112 | } |
1113 | 1113 | ||
1114 | static int __devinit loopback_proc_new(struct loopback *loopback, int cidx) | 1114 | static int loopback_proc_new(struct loopback *loopback, int cidx) |
1115 | { | 1115 | { |
1116 | char name[32]; | 1116 | char name[32]; |
1117 | struct snd_info_entry *entry; | 1117 | struct snd_info_entry *entry; |
@@ -1132,7 +1132,7 @@ static int __devinit loopback_proc_new(struct loopback *loopback, int cidx) | |||
1132 | 1132 | ||
1133 | #endif | 1133 | #endif |
1134 | 1134 | ||
1135 | static int __devinit loopback_probe(struct platform_device *devptr) | 1135 | static int loopback_probe(struct platform_device *devptr) |
1136 | { | 1136 | { |
1137 | struct snd_card *card; | 1137 | struct snd_card *card; |
1138 | struct loopback *loopback; | 1138 | struct loopback *loopback; |
@@ -1177,7 +1177,7 @@ static int __devinit loopback_probe(struct platform_device *devptr) | |||
1177 | return err; | 1177 | return err; |
1178 | } | 1178 | } |
1179 | 1179 | ||
1180 | static int __devexit loopback_remove(struct platform_device *devptr) | 1180 | static int loopback_remove(struct platform_device *devptr) |
1181 | { | 1181 | { |
1182 | snd_card_free(platform_get_drvdata(devptr)); | 1182 | snd_card_free(platform_get_drvdata(devptr)); |
1183 | platform_set_drvdata(devptr, NULL); | 1183 | platform_set_drvdata(devptr, NULL); |
@@ -1215,7 +1215,7 @@ static SIMPLE_DEV_PM_OPS(loopback_pm, loopback_suspend, loopback_resume); | |||
1215 | 1215 | ||
1216 | static struct platform_driver loopback_driver = { | 1216 | static struct platform_driver loopback_driver = { |
1217 | .probe = loopback_probe, | 1217 | .probe = loopback_probe, |
1218 | .remove = __devexit_p(loopback_remove), | 1218 | .remove = loopback_remove, |
1219 | .driver = { | 1219 | .driver = { |
1220 | .name = SND_LOOPBACK_DRIVER, | 1220 | .name = SND_LOOPBACK_DRIVER, |
1221 | .owner = THIS_MODULE, | 1221 | .owner = THIS_MODULE, |
diff --git a/sound/drivers/dummy.c b/sound/drivers/dummy.c index 4f522cf48455..fd798f753609 100644 --- a/sound/drivers/dummy.c +++ b/sound/drivers/dummy.c | |||
@@ -688,8 +688,8 @@ static struct snd_pcm_ops dummy_pcm_ops_no_buf = { | |||
688 | .page = dummy_pcm_page, | 688 | .page = dummy_pcm_page, |
689 | }; | 689 | }; |
690 | 690 | ||
691 | static int __devinit snd_card_dummy_pcm(struct snd_dummy *dummy, int device, | 691 | static int snd_card_dummy_pcm(struct snd_dummy *dummy, int device, |
692 | int substreams) | 692 | int substreams) |
693 | { | 693 | { |
694 | struct snd_pcm *pcm; | 694 | struct snd_pcm *pcm; |
695 | struct snd_pcm_ops *ops; | 695 | struct snd_pcm_ops *ops; |
@@ -891,7 +891,7 @@ DUMMY_CAPSRC("CD Capture Switch", 0, MIXER_ADDR_CD), | |||
891 | }, | 891 | }, |
892 | }; | 892 | }; |
893 | 893 | ||
894 | static int __devinit snd_card_dummy_new_mixer(struct snd_dummy *dummy) | 894 | static int snd_card_dummy_new_mixer(struct snd_dummy *dummy) |
895 | { | 895 | { |
896 | struct snd_card *card = dummy->card; | 896 | struct snd_card *card = dummy->card; |
897 | struct snd_kcontrol *kcontrol; | 897 | struct snd_kcontrol *kcontrol; |
@@ -1031,7 +1031,7 @@ static void dummy_proc_write(struct snd_info_entry *entry, | |||
1031 | } | 1031 | } |
1032 | } | 1032 | } |
1033 | 1033 | ||
1034 | static void __devinit dummy_proc_init(struct snd_dummy *chip) | 1034 | static void dummy_proc_init(struct snd_dummy *chip) |
1035 | { | 1035 | { |
1036 | struct snd_info_entry *entry; | 1036 | struct snd_info_entry *entry; |
1037 | 1037 | ||
@@ -1046,7 +1046,7 @@ static void __devinit dummy_proc_init(struct snd_dummy *chip) | |||
1046 | #define dummy_proc_init(x) | 1046 | #define dummy_proc_init(x) |
1047 | #endif /* CONFIG_SND_DEBUG && CONFIG_PROC_FS */ | 1047 | #endif /* CONFIG_SND_DEBUG && CONFIG_PROC_FS */ |
1048 | 1048 | ||
1049 | static int __devinit snd_dummy_probe(struct platform_device *devptr) | 1049 | static int snd_dummy_probe(struct platform_device *devptr) |
1050 | { | 1050 | { |
1051 | struct snd_card *card; | 1051 | struct snd_card *card; |
1052 | struct snd_dummy *dummy; | 1052 | struct snd_dummy *dummy; |
@@ -1126,7 +1126,7 @@ static int __devinit snd_dummy_probe(struct platform_device *devptr) | |||
1126 | return err; | 1126 | return err; |
1127 | } | 1127 | } |
1128 | 1128 | ||
1129 | static int __devexit snd_dummy_remove(struct platform_device *devptr) | 1129 | static int snd_dummy_remove(struct platform_device *devptr) |
1130 | { | 1130 | { |
1131 | snd_card_free(platform_get_drvdata(devptr)); | 1131 | snd_card_free(platform_get_drvdata(devptr)); |
1132 | platform_set_drvdata(devptr, NULL); | 1132 | platform_set_drvdata(devptr, NULL); |
@@ -1162,7 +1162,7 @@ static SIMPLE_DEV_PM_OPS(snd_dummy_pm, snd_dummy_suspend, snd_dummy_resume); | |||
1162 | 1162 | ||
1163 | static struct platform_driver snd_dummy_driver = { | 1163 | static struct platform_driver snd_dummy_driver = { |
1164 | .probe = snd_dummy_probe, | 1164 | .probe = snd_dummy_probe, |
1165 | .remove = __devexit_p(snd_dummy_remove), | 1165 | .remove = snd_dummy_remove, |
1166 | .driver = { | 1166 | .driver = { |
1167 | .name = SND_DUMMY_DRIVER, | 1167 | .name = SND_DUMMY_DRIVER, |
1168 | .owner = THIS_MODULE, | 1168 | .owner = THIS_MODULE, |
diff --git a/sound/drivers/ml403-ac97cr.c b/sound/drivers/ml403-ac97cr.c index 6c83b1aed288..8125a7e95ee4 100644 --- a/sound/drivers/ml403-ac97cr.c +++ b/sound/drivers/ml403-ac97cr.c | |||
@@ -1063,7 +1063,7 @@ snd_ml403_ac97cr_codec_write(struct snd_ac97 *ac97, unsigned short reg, | |||
1063 | return; | 1063 | return; |
1064 | } | 1064 | } |
1065 | 1065 | ||
1066 | static int __devinit | 1066 | static int |
1067 | snd_ml403_ac97cr_chip_init(struct snd_ml403_ac97cr *ml403_ac97cr) | 1067 | snd_ml403_ac97cr_chip_init(struct snd_ml403_ac97cr *ml403_ac97cr) |
1068 | { | 1068 | { |
1069 | unsigned long end_time; | 1069 | unsigned long end_time; |
@@ -1108,7 +1108,7 @@ static int snd_ml403_ac97cr_dev_free(struct snd_device *snddev) | |||
1108 | return snd_ml403_ac97cr_free(ml403_ac97cr); | 1108 | return snd_ml403_ac97cr_free(ml403_ac97cr); |
1109 | } | 1109 | } |
1110 | 1110 | ||
1111 | static int __devinit | 1111 | static int |
1112 | snd_ml403_ac97cr_create(struct snd_card *card, struct platform_device *pfdev, | 1112 | snd_ml403_ac97cr_create(struct snd_card *card, struct platform_device *pfdev, |
1113 | struct snd_ml403_ac97cr **rml403_ac97cr) | 1113 | struct snd_ml403_ac97cr **rml403_ac97cr) |
1114 | { | 1114 | { |
@@ -1204,7 +1204,7 @@ static void snd_ml403_ac97cr_mixer_free(struct snd_ac97 *ac97) | |||
1204 | PDEBUG(INIT_INFO, "mixer_free(): (done)\n"); | 1204 | PDEBUG(INIT_INFO, "mixer_free(): (done)\n"); |
1205 | } | 1205 | } |
1206 | 1206 | ||
1207 | static int __devinit | 1207 | static int |
1208 | snd_ml403_ac97cr_mixer(struct snd_ml403_ac97cr *ml403_ac97cr) | 1208 | snd_ml403_ac97cr_mixer(struct snd_ml403_ac97cr *ml403_ac97cr) |
1209 | { | 1209 | { |
1210 | struct snd_ac97_bus *bus; | 1210 | struct snd_ac97_bus *bus; |
@@ -1237,7 +1237,7 @@ snd_ml403_ac97cr_mixer(struct snd_ml403_ac97cr *ml403_ac97cr) | |||
1237 | return err; | 1237 | return err; |
1238 | } | 1238 | } |
1239 | 1239 | ||
1240 | static int __devinit | 1240 | static int |
1241 | snd_ml403_ac97cr_pcm(struct snd_ml403_ac97cr *ml403_ac97cr, int device, | 1241 | snd_ml403_ac97cr_pcm(struct snd_ml403_ac97cr *ml403_ac97cr, int device, |
1242 | struct snd_pcm **rpcm) | 1242 | struct snd_pcm **rpcm) |
1243 | { | 1243 | { |
@@ -1268,7 +1268,7 @@ snd_ml403_ac97cr_pcm(struct snd_ml403_ac97cr *ml403_ac97cr, int device, | |||
1268 | return 0; | 1268 | return 0; |
1269 | } | 1269 | } |
1270 | 1270 | ||
1271 | static int __devinit snd_ml403_ac97cr_probe(struct platform_device *pfdev) | 1271 | static int snd_ml403_ac97cr_probe(struct platform_device *pfdev) |
1272 | { | 1272 | { |
1273 | struct snd_card *card; | 1273 | struct snd_card *card; |
1274 | struct snd_ml403_ac97cr *ml403_ac97cr = NULL; | 1274 | struct snd_ml403_ac97cr *ml403_ac97cr = NULL; |
diff --git a/sound/drivers/mpu401/mpu401.c b/sound/drivers/mpu401/mpu401.c index bc03a2046c9c..da1a29bfc85d 100644 --- a/sound/drivers/mpu401/mpu401.c +++ b/sound/drivers/mpu401/mpu401.c | |||
@@ -100,7 +100,7 @@ static int snd_mpu401_create(int dev, struct snd_card **rcard) | |||
100 | return err; | 100 | return err; |
101 | } | 101 | } |
102 | 102 | ||
103 | static int __devinit snd_mpu401_probe(struct platform_device *devptr) | 103 | static int snd_mpu401_probe(struct platform_device *devptr) |
104 | { | 104 | { |
105 | int dev = devptr->id; | 105 | int dev = devptr->id; |
106 | int err; | 106 | int err; |
@@ -126,7 +126,7 @@ static int __devinit snd_mpu401_probe(struct platform_device *devptr) | |||
126 | return 0; | 126 | return 0; |
127 | } | 127 | } |
128 | 128 | ||
129 | static int __devexit snd_mpu401_remove(struct platform_device *devptr) | 129 | static int snd_mpu401_remove(struct platform_device *devptr) |
130 | { | 130 | { |
131 | snd_card_free(platform_get_drvdata(devptr)); | 131 | snd_card_free(platform_get_drvdata(devptr)); |
132 | platform_set_drvdata(devptr, NULL); | 132 | platform_set_drvdata(devptr, NULL); |
@@ -137,7 +137,7 @@ static int __devexit snd_mpu401_remove(struct platform_device *devptr) | |||
137 | 137 | ||
138 | static struct platform_driver snd_mpu401_driver = { | 138 | static struct platform_driver snd_mpu401_driver = { |
139 | .probe = snd_mpu401_probe, | 139 | .probe = snd_mpu401_probe, |
140 | .remove = __devexit_p(snd_mpu401_remove), | 140 | .remove = snd_mpu401_remove, |
141 | .driver = { | 141 | .driver = { |
142 | .name = SND_MPU401_DRIVER, | 142 | .name = SND_MPU401_DRIVER, |
143 | .owner = THIS_MODULE, | 143 | .owner = THIS_MODULE, |
@@ -156,8 +156,8 @@ static struct pnp_device_id snd_mpu401_pnpids[] = { | |||
156 | 156 | ||
157 | MODULE_DEVICE_TABLE(pnp, snd_mpu401_pnpids); | 157 | MODULE_DEVICE_TABLE(pnp, snd_mpu401_pnpids); |
158 | 158 | ||
159 | static int __devinit snd_mpu401_pnp(int dev, struct pnp_dev *device, | 159 | static int snd_mpu401_pnp(int dev, struct pnp_dev *device, |
160 | const struct pnp_device_id *id) | 160 | const struct pnp_device_id *id) |
161 | { | 161 | { |
162 | if (!pnp_port_valid(device, 0) || | 162 | if (!pnp_port_valid(device, 0) || |
163 | pnp_port_flags(device, 0) & IORESOURCE_DISABLED) { | 163 | pnp_port_flags(device, 0) & IORESOURCE_DISABLED) { |
@@ -182,8 +182,8 @@ static int __devinit snd_mpu401_pnp(int dev, struct pnp_dev *device, | |||
182 | return 0; | 182 | return 0; |
183 | } | 183 | } |
184 | 184 | ||
185 | static int __devinit snd_mpu401_pnp_probe(struct pnp_dev *pnp_dev, | 185 | static int snd_mpu401_pnp_probe(struct pnp_dev *pnp_dev, |
186 | const struct pnp_device_id *id) | 186 | const struct pnp_device_id *id) |
187 | { | 187 | { |
188 | static int dev; | 188 | static int dev; |
189 | struct snd_card *card; | 189 | struct snd_card *card; |
@@ -211,7 +211,7 @@ static int __devinit snd_mpu401_pnp_probe(struct pnp_dev *pnp_dev, | |||
211 | return -ENODEV; | 211 | return -ENODEV; |
212 | } | 212 | } |
213 | 213 | ||
214 | static void __devexit snd_mpu401_pnp_remove(struct pnp_dev *dev) | 214 | static void snd_mpu401_pnp_remove(struct pnp_dev *dev) |
215 | { | 215 | { |
216 | struct snd_card *card = (struct snd_card *) pnp_get_drvdata(dev); | 216 | struct snd_card *card = (struct snd_card *) pnp_get_drvdata(dev); |
217 | 217 | ||
@@ -223,7 +223,7 @@ static struct pnp_driver snd_mpu401_pnp_driver = { | |||
223 | .name = "mpu401", | 223 | .name = "mpu401", |
224 | .id_table = snd_mpu401_pnpids, | 224 | .id_table = snd_mpu401_pnpids, |
225 | .probe = snd_mpu401_pnp_probe, | 225 | .probe = snd_mpu401_pnp_probe, |
226 | .remove = __devexit_p(snd_mpu401_pnp_remove), | 226 | .remove = snd_mpu401_pnp_remove, |
227 | }; | 227 | }; |
228 | #else | 228 | #else |
229 | static struct pnp_driver snd_mpu401_pnp_driver; | 229 | static struct pnp_driver snd_mpu401_pnp_driver; |
diff --git a/sound/drivers/mtpav.c b/sound/drivers/mtpav.c index cad73af3860c..9f1815b99a15 100644 --- a/sound/drivers/mtpav.c +++ b/sound/drivers/mtpav.c | |||
@@ -583,7 +583,7 @@ static irqreturn_t snd_mtpav_irqh(int irq, void *dev_id) | |||
583 | /* | 583 | /* |
584 | * get ISA resources | 584 | * get ISA resources |
585 | */ | 585 | */ |
586 | static int __devinit snd_mtpav_get_ISA(struct mtpav * mcard) | 586 | static int snd_mtpav_get_ISA(struct mtpav *mcard) |
587 | { | 587 | { |
588 | if ((mcard->res_port = request_region(port, 3, "MotuMTPAV MIDI")) == NULL) { | 588 | if ((mcard->res_port = request_region(port, 3, "MotuMTPAV MIDI")) == NULL) { |
589 | snd_printk(KERN_ERR "MTVAP port 0x%lx is busy\n", port); | 589 | snd_printk(KERN_ERR "MTVAP port 0x%lx is busy\n", port); |
@@ -619,8 +619,8 @@ static struct snd_rawmidi_ops snd_mtpav_input = { | |||
619 | * get RAWMIDI resources | 619 | * get RAWMIDI resources |
620 | */ | 620 | */ |
621 | 621 | ||
622 | static void __devinit snd_mtpav_set_name(struct mtpav *chip, | 622 | static void snd_mtpav_set_name(struct mtpav *chip, |
623 | struct snd_rawmidi_substream *substream) | 623 | struct snd_rawmidi_substream *substream) |
624 | { | 624 | { |
625 | if (substream->number >= 0 && substream->number < chip->num_ports) | 625 | if (substream->number >= 0 && substream->number < chip->num_ports) |
626 | sprintf(substream->name, "MTP direct %d", (substream->number % chip->num_ports) + 1); | 626 | sprintf(substream->name, "MTP direct %d", (substream->number % chip->num_ports) + 1); |
@@ -634,7 +634,7 @@ static void __devinit snd_mtpav_set_name(struct mtpav *chip, | |||
634 | strcpy(substream->name, "MTP broadcast"); | 634 | strcpy(substream->name, "MTP broadcast"); |
635 | } | 635 | } |
636 | 636 | ||
637 | static int __devinit snd_mtpav_get_RAWMIDI(struct mtpav *mcard) | 637 | static int snd_mtpav_get_RAWMIDI(struct mtpav *mcard) |
638 | { | 638 | { |
639 | int rval; | 639 | int rval; |
640 | struct snd_rawmidi *rawmidi; | 640 | struct snd_rawmidi *rawmidi; |
@@ -691,7 +691,7 @@ static void snd_mtpav_free(struct snd_card *card) | |||
691 | 691 | ||
692 | /* | 692 | /* |
693 | */ | 693 | */ |
694 | static int __devinit snd_mtpav_probe(struct platform_device *dev) | 694 | static int snd_mtpav_probe(struct platform_device *dev) |
695 | { | 695 | { |
696 | struct snd_card *card; | 696 | struct snd_card *card; |
697 | int err; | 697 | int err; |
@@ -746,7 +746,7 @@ static int __devinit snd_mtpav_probe(struct platform_device *dev) | |||
746 | return err; | 746 | return err; |
747 | } | 747 | } |
748 | 748 | ||
749 | static int __devexit snd_mtpav_remove(struct platform_device *devptr) | 749 | static int snd_mtpav_remove(struct platform_device *devptr) |
750 | { | 750 | { |
751 | snd_card_free(platform_get_drvdata(devptr)); | 751 | snd_card_free(platform_get_drvdata(devptr)); |
752 | platform_set_drvdata(devptr, NULL); | 752 | platform_set_drvdata(devptr, NULL); |
@@ -757,7 +757,7 @@ static int __devexit snd_mtpav_remove(struct platform_device *devptr) | |||
757 | 757 | ||
758 | static struct platform_driver snd_mtpav_driver = { | 758 | static struct platform_driver snd_mtpav_driver = { |
759 | .probe = snd_mtpav_probe, | 759 | .probe = snd_mtpav_probe, |
760 | .remove = __devexit_p(snd_mtpav_remove), | 760 | .remove = snd_mtpav_remove, |
761 | .driver = { | 761 | .driver = { |
762 | .name = SND_MTPAV_DRIVER, | 762 | .name = SND_MTPAV_DRIVER, |
763 | .owner = THIS_MODULE, | 763 | .owner = THIS_MODULE, |
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, |
diff --git a/sound/drivers/pcsp/pcsp.c b/sound/drivers/pcsp/pcsp.c index ef171295f6d4..7a5fdb9b0afc 100644 --- a/sound/drivers/pcsp/pcsp.c +++ b/sound/drivers/pcsp/pcsp.c | |||
@@ -39,7 +39,7 @@ MODULE_PARM_DESC(nopcm, "Disable PC-Speaker PCM sound. Only beeps remain."); | |||
39 | 39 | ||
40 | struct snd_pcsp pcsp_chip; | 40 | struct snd_pcsp pcsp_chip; |
41 | 41 | ||
42 | static int __devinit snd_pcsp_create(struct snd_card *card) | 42 | static int snd_pcsp_create(struct snd_card *card) |
43 | { | 43 | { |
44 | static struct snd_device_ops ops = { }; | 44 | static struct snd_device_ops ops = { }; |
45 | struct timespec tp; | 45 | struct timespec tp; |
@@ -93,7 +93,7 @@ static int __devinit snd_pcsp_create(struct snd_card *card) | |||
93 | return 0; | 93 | return 0; |
94 | } | 94 | } |
95 | 95 | ||
96 | static int __devinit snd_card_pcsp_probe(int devnum, struct device *dev) | 96 | static int snd_card_pcsp_probe(int devnum, struct device *dev) |
97 | { | 97 | { |
98 | struct snd_card *card; | 98 | struct snd_card *card; |
99 | int err; | 99 | int err; |
@@ -142,7 +142,7 @@ static int __devinit snd_card_pcsp_probe(int devnum, struct device *dev) | |||
142 | return 0; | 142 | return 0; |
143 | } | 143 | } |
144 | 144 | ||
145 | static int __devinit alsa_card_pcsp_init(struct device *dev) | 145 | static int alsa_card_pcsp_init(struct device *dev) |
146 | { | 146 | { |
147 | int err; | 147 | int err; |
148 | 148 | ||
@@ -161,12 +161,12 @@ static int __devinit alsa_card_pcsp_init(struct device *dev) | |||
161 | return 0; | 161 | return 0; |
162 | } | 162 | } |
163 | 163 | ||
164 | static void __devexit alsa_card_pcsp_exit(struct snd_pcsp *chip) | 164 | static void alsa_card_pcsp_exit(struct snd_pcsp *chip) |
165 | { | 165 | { |
166 | snd_card_free(chip->card); | 166 | snd_card_free(chip->card); |
167 | } | 167 | } |
168 | 168 | ||
169 | static int __devinit pcsp_probe(struct platform_device *dev) | 169 | static int pcsp_probe(struct platform_device *dev) |
170 | { | 170 | { |
171 | int err; | 171 | int err; |
172 | 172 | ||
@@ -184,7 +184,7 @@ static int __devinit pcsp_probe(struct platform_device *dev) | |||
184 | return 0; | 184 | return 0; |
185 | } | 185 | } |
186 | 186 | ||
187 | static int __devexit pcsp_remove(struct platform_device *dev) | 187 | static int pcsp_remove(struct platform_device *dev) |
188 | { | 188 | { |
189 | struct snd_pcsp *chip = platform_get_drvdata(dev); | 189 | struct snd_pcsp *chip = platform_get_drvdata(dev); |
190 | alsa_card_pcsp_exit(chip); | 190 | alsa_card_pcsp_exit(chip); |
@@ -227,7 +227,7 @@ static struct platform_driver pcsp_platform_driver = { | |||
227 | .pm = PCSP_PM_OPS, | 227 | .pm = PCSP_PM_OPS, |
228 | }, | 228 | }, |
229 | .probe = pcsp_probe, | 229 | .probe = pcsp_probe, |
230 | .remove = __devexit_p(pcsp_remove), | 230 | .remove = pcsp_remove, |
231 | .shutdown = pcsp_shutdown, | 231 | .shutdown = pcsp_shutdown, |
232 | }; | 232 | }; |
233 | 233 | ||
diff --git a/sound/drivers/pcsp/pcsp_input.c b/sound/drivers/pcsp/pcsp_input.c index b5e2b54c2604..b874b0ad99cd 100644 --- a/sound/drivers/pcsp/pcsp_input.c +++ b/sound/drivers/pcsp/pcsp_input.c | |||
@@ -77,7 +77,7 @@ static int pcspkr_input_event(struct input_dev *dev, unsigned int type, | |||
77 | return 0; | 77 | return 0; |
78 | } | 78 | } |
79 | 79 | ||
80 | int __devinit pcspkr_input_init(struct input_dev **rdev, struct device *dev) | 80 | int pcspkr_input_init(struct input_dev **rdev, struct device *dev) |
81 | { | 81 | { |
82 | int err; | 82 | int err; |
83 | 83 | ||
diff --git a/sound/drivers/pcsp/pcsp_input.h b/sound/drivers/pcsp/pcsp_input.h index e66738c78333..d692749b8c9b 100644 --- a/sound/drivers/pcsp/pcsp_input.h +++ b/sound/drivers/pcsp/pcsp_input.h | |||
@@ -7,7 +7,7 @@ | |||
7 | #ifndef __PCSP_INPUT_H__ | 7 | #ifndef __PCSP_INPUT_H__ |
8 | #define __PCSP_INPUT_H__ | 8 | #define __PCSP_INPUT_H__ |
9 | 9 | ||
10 | int __devinit pcspkr_input_init(struct input_dev **rdev, struct device *dev); | 10 | int pcspkr_input_init(struct input_dev **rdev, struct device *dev); |
11 | int pcspkr_input_remove(struct input_dev *dev); | 11 | int pcspkr_input_remove(struct input_dev *dev); |
12 | void pcspkr_stop_sound(void); | 12 | void pcspkr_stop_sound(void); |
13 | 13 | ||
diff --git a/sound/drivers/pcsp/pcsp_lib.c b/sound/drivers/pcsp/pcsp_lib.c index 434981dd4a61..29ebaa4ec0fd 100644 --- a/sound/drivers/pcsp/pcsp_lib.c +++ b/sound/drivers/pcsp/pcsp_lib.c | |||
@@ -334,7 +334,7 @@ static struct snd_pcm_ops snd_pcsp_playback_ops = { | |||
334 | .pointer = snd_pcsp_playback_pointer, | 334 | .pointer = snd_pcsp_playback_pointer, |
335 | }; | 335 | }; |
336 | 336 | ||
337 | int __devinit snd_pcsp_new_pcm(struct snd_pcsp *chip) | 337 | int snd_pcsp_new_pcm(struct snd_pcsp *chip) |
338 | { | 338 | { |
339 | int err; | 339 | int err; |
340 | 340 | ||
diff --git a/sound/drivers/pcsp/pcsp_mixer.c b/sound/drivers/pcsp/pcsp_mixer.c index 6f633f4f3b96..f1e1defc09b1 100644 --- a/sound/drivers/pcsp/pcsp_mixer.c +++ b/sound/drivers/pcsp/pcsp_mixer.c | |||
@@ -119,17 +119,17 @@ static int pcsp_pcspkr_put(struct snd_kcontrol *kcontrol, | |||
119 | .put = pcsp_##ctl_type##_put, \ | 119 | .put = pcsp_##ctl_type##_put, \ |
120 | } | 120 | } |
121 | 121 | ||
122 | static struct snd_kcontrol_new __devinitdata snd_pcsp_controls_pcm[] = { | 122 | static struct snd_kcontrol_new snd_pcsp_controls_pcm[] = { |
123 | PCSP_MIXER_CONTROL(enable, "Master Playback Switch"), | 123 | PCSP_MIXER_CONTROL(enable, "Master Playback Switch"), |
124 | PCSP_MIXER_CONTROL(treble, "BaseFRQ Playback Volume"), | 124 | PCSP_MIXER_CONTROL(treble, "BaseFRQ Playback Volume"), |
125 | }; | 125 | }; |
126 | 126 | ||
127 | static struct snd_kcontrol_new __devinitdata snd_pcsp_controls_spkr[] = { | 127 | static struct snd_kcontrol_new snd_pcsp_controls_spkr[] = { |
128 | PCSP_MIXER_CONTROL(pcspkr, "Beep Playback Switch"), | 128 | PCSP_MIXER_CONTROL(pcspkr, "Beep Playback Switch"), |
129 | }; | 129 | }; |
130 | 130 | ||
131 | static int __devinit snd_pcsp_ctls_add(struct snd_pcsp *chip, | 131 | static int snd_pcsp_ctls_add(struct snd_pcsp *chip, |
132 | struct snd_kcontrol_new *ctls, int num) | 132 | struct snd_kcontrol_new *ctls, int num) |
133 | { | 133 | { |
134 | int i, err; | 134 | int i, err; |
135 | struct snd_card *card = chip->card; | 135 | struct snd_card *card = chip->card; |
@@ -141,7 +141,7 @@ static int __devinit snd_pcsp_ctls_add(struct snd_pcsp *chip, | |||
141 | return 0; | 141 | return 0; |
142 | } | 142 | } |
143 | 143 | ||
144 | int __devinit snd_pcsp_new_mixer(struct snd_pcsp *chip, int nopcm) | 144 | int snd_pcsp_new_mixer(struct snd_pcsp *chip, int nopcm) |
145 | { | 145 | { |
146 | int err; | 146 | int err; |
147 | struct snd_card *card = chip->card; | 147 | struct snd_card *card = chip->card; |
diff --git a/sound/drivers/portman2x4.c b/sound/drivers/portman2x4.c index 8364855ed14f..991018df7131 100644 --- a/sound/drivers/portman2x4.c +++ b/sound/drivers/portman2x4.c | |||
@@ -96,9 +96,9 @@ static int portman_free(struct portman *pm) | |||
96 | return 0; | 96 | return 0; |
97 | } | 97 | } |
98 | 98 | ||
99 | static int __devinit portman_create(struct snd_card *card, | 99 | static int portman_create(struct snd_card *card, |
100 | struct pardevice *pardev, | 100 | struct pardevice *pardev, |
101 | struct portman **rchip) | 101 | struct portman **rchip) |
102 | { | 102 | { |
103 | struct portman *pm; | 103 | struct portman *pm; |
104 | 104 | ||
@@ -561,7 +561,7 @@ static struct snd_rawmidi_ops snd_portman_midi_input = { | |||
561 | }; | 561 | }; |
562 | 562 | ||
563 | /* Create and initialize the rawmidi component */ | 563 | /* Create and initialize the rawmidi component */ |
564 | static int __devinit snd_portman_rawmidi_create(struct snd_card *card) | 564 | static int snd_portman_rawmidi_create(struct snd_card *card) |
565 | { | 565 | { |
566 | struct portman *pm = card->private_data; | 566 | struct portman *pm = card->private_data; |
567 | struct snd_rawmidi *rmidi; | 567 | struct snd_rawmidi *rmidi; |
@@ -648,7 +648,7 @@ static void snd_portman_interrupt(void *userdata) | |||
648 | spin_unlock(&pm->reg_lock); | 648 | spin_unlock(&pm->reg_lock); |
649 | } | 649 | } |
650 | 650 | ||
651 | static int __devinit snd_portman_probe_port(struct parport *p) | 651 | static int snd_portman_probe_port(struct parport *p) |
652 | { | 652 | { |
653 | struct pardevice *pardev; | 653 | struct pardevice *pardev; |
654 | int res; | 654 | int res; |
@@ -672,7 +672,7 @@ static int __devinit snd_portman_probe_port(struct parport *p) | |||
672 | return res ? -EIO : 0; | 672 | return res ? -EIO : 0; |
673 | } | 673 | } |
674 | 674 | ||
675 | static void __devinit snd_portman_attach(struct parport *p) | 675 | static void snd_portman_attach(struct parport *p) |
676 | { | 676 | { |
677 | struct platform_device *device; | 677 | struct platform_device *device; |
678 | 678 | ||
@@ -728,7 +728,7 @@ static void snd_portman_card_private_free(struct snd_card *card) | |||
728 | portman_free(pm); | 728 | portman_free(pm); |
729 | } | 729 | } |
730 | 730 | ||
731 | static int __devinit snd_portman_probe(struct platform_device *pdev) | 731 | static int snd_portman_probe(struct platform_device *pdev) |
732 | { | 732 | { |
733 | struct pardevice *pardev; | 733 | struct pardevice *pardev; |
734 | struct parport *p; | 734 | struct parport *p; |
@@ -814,7 +814,7 @@ __err: | |||
814 | return err; | 814 | return err; |
815 | } | 815 | } |
816 | 816 | ||
817 | static int __devexit snd_portman_remove(struct platform_device *pdev) | 817 | static int snd_portman_remove(struct platform_device *pdev) |
818 | { | 818 | { |
819 | struct snd_card *card = platform_get_drvdata(pdev); | 819 | struct snd_card *card = platform_get_drvdata(pdev); |
820 | 820 | ||
@@ -827,7 +827,7 @@ static int __devexit snd_portman_remove(struct platform_device *pdev) | |||
827 | 827 | ||
828 | static struct platform_driver snd_portman_driver = { | 828 | static struct platform_driver snd_portman_driver = { |
829 | .probe = snd_portman_probe, | 829 | .probe = snd_portman_probe, |
830 | .remove = __devexit_p(snd_portman_remove), | 830 | .remove = snd_portman_remove, |
831 | .driver = { | 831 | .driver = { |
832 | .name = PLATFORM_DRIVER, | 832 | .name = PLATFORM_DRIVER, |
833 | .owner = THIS_MODULE, | 833 | .owner = THIS_MODULE, |
diff --git a/sound/drivers/serial-u16550.c b/sound/drivers/serial-u16550.c index 86700671d1ac..7425dd8c1f09 100644 --- a/sound/drivers/serial-u16550.c +++ b/sound/drivers/serial-u16550.c | |||
@@ -328,7 +328,7 @@ static void snd_uart16550_buffer_timer(unsigned long data) | |||
328 | * return 0 if found | 328 | * return 0 if found |
329 | * return negative error if not found | 329 | * return negative error if not found |
330 | */ | 330 | */ |
331 | static int __devinit snd_uart16550_detect(struct snd_uart16550 *uart) | 331 | static int snd_uart16550_detect(struct snd_uart16550 *uart) |
332 | { | 332 | { |
333 | unsigned long io_base = uart->base; | 333 | unsigned long io_base = uart->base; |
334 | int ok; | 334 | int ok; |
@@ -783,14 +783,14 @@ static int snd_uart16550_dev_free(struct snd_device *device) | |||
783 | return snd_uart16550_free(uart); | 783 | return snd_uart16550_free(uart); |
784 | } | 784 | } |
785 | 785 | ||
786 | static int __devinit snd_uart16550_create(struct snd_card *card, | 786 | static int snd_uart16550_create(struct snd_card *card, |
787 | unsigned long iobase, | 787 | unsigned long iobase, |
788 | int irq, | 788 | int irq, |
789 | unsigned int speed, | 789 | unsigned int speed, |
790 | unsigned int base, | 790 | unsigned int base, |
791 | int adaptor, | 791 | int adaptor, |
792 | int droponfull, | 792 | int droponfull, |
793 | struct snd_uart16550 **ruart) | 793 | struct snd_uart16550 **ruart) |
794 | { | 794 | { |
795 | static struct snd_device_ops ops = { | 795 | static struct snd_device_ops ops = { |
796 | .dev_free = snd_uart16550_dev_free, | 796 | .dev_free = snd_uart16550_dev_free, |
@@ -863,7 +863,7 @@ static int __devinit snd_uart16550_create(struct snd_card *card, | |||
863 | return 0; | 863 | return 0; |
864 | } | 864 | } |
865 | 865 | ||
866 | static void __devinit snd_uart16550_substreams(struct snd_rawmidi_str *stream) | 866 | static void snd_uart16550_substreams(struct snd_rawmidi_str *stream) |
867 | { | 867 | { |
868 | struct snd_rawmidi_substream *substream; | 868 | struct snd_rawmidi_substream *substream; |
869 | 869 | ||
@@ -872,9 +872,9 @@ static void __devinit snd_uart16550_substreams(struct snd_rawmidi_str *stream) | |||
872 | } | 872 | } |
873 | } | 873 | } |
874 | 874 | ||
875 | static int __devinit snd_uart16550_rmidi(struct snd_uart16550 *uart, int device, | 875 | static int snd_uart16550_rmidi(struct snd_uart16550 *uart, int device, |
876 | int outs, int ins, | 876 | int outs, int ins, |
877 | struct snd_rawmidi **rmidi) | 877 | struct snd_rawmidi **rmidi) |
878 | { | 878 | { |
879 | struct snd_rawmidi *rrawmidi; | 879 | struct snd_rawmidi *rrawmidi; |
880 | int err; | 880 | int err; |
@@ -899,7 +899,7 @@ static int __devinit snd_uart16550_rmidi(struct snd_uart16550 *uart, int device, | |||
899 | return 0; | 899 | return 0; |
900 | } | 900 | } |
901 | 901 | ||
902 | static int __devinit snd_serial_probe(struct platform_device *devptr) | 902 | static int snd_serial_probe(struct platform_device *devptr) |
903 | { | 903 | { |
904 | struct snd_card *card; | 904 | struct snd_card *card; |
905 | struct snd_uart16550 *uart; | 905 | struct snd_uart16550 *uart; |
@@ -982,7 +982,7 @@ static int __devinit snd_serial_probe(struct platform_device *devptr) | |||
982 | return err; | 982 | return err; |
983 | } | 983 | } |
984 | 984 | ||
985 | static int __devexit snd_serial_remove(struct platform_device *devptr) | 985 | static int snd_serial_remove(struct platform_device *devptr) |
986 | { | 986 | { |
987 | snd_card_free(platform_get_drvdata(devptr)); | 987 | snd_card_free(platform_get_drvdata(devptr)); |
988 | platform_set_drvdata(devptr, NULL); | 988 | platform_set_drvdata(devptr, NULL); |
@@ -993,7 +993,7 @@ static int __devexit snd_serial_remove(struct platform_device *devptr) | |||
993 | 993 | ||
994 | static struct platform_driver snd_serial_driver = { | 994 | static struct platform_driver snd_serial_driver = { |
995 | .probe = snd_serial_probe, | 995 | .probe = snd_serial_probe, |
996 | .remove = __devexit_p( snd_serial_remove), | 996 | .remove = snd_serial_remove, |
997 | .driver = { | 997 | .driver = { |
998 | .name = SND_SERIAL_DRIVER, | 998 | .name = SND_SERIAL_DRIVER, |
999 | .owner = THIS_MODULE, | 999 | .owner = THIS_MODULE, |
diff --git a/sound/drivers/virmidi.c b/sound/drivers/virmidi.c index d7d514df9058..cc4be88d7318 100644 --- a/sound/drivers/virmidi.c +++ b/sound/drivers/virmidi.c | |||
@@ -83,7 +83,7 @@ struct snd_card_virmidi { | |||
83 | static struct platform_device *devices[SNDRV_CARDS]; | 83 | static struct platform_device *devices[SNDRV_CARDS]; |
84 | 84 | ||
85 | 85 | ||
86 | static int __devinit snd_virmidi_probe(struct platform_device *devptr) | 86 | static int snd_virmidi_probe(struct platform_device *devptr) |
87 | { | 87 | { |
88 | struct snd_card *card; | 88 | struct snd_card *card; |
89 | struct snd_card_virmidi *vmidi; | 89 | struct snd_card_virmidi *vmidi; |
@@ -129,7 +129,7 @@ static int __devinit snd_virmidi_probe(struct platform_device *devptr) | |||
129 | return err; | 129 | return err; |
130 | } | 130 | } |
131 | 131 | ||
132 | static int __devexit snd_virmidi_remove(struct platform_device *devptr) | 132 | static int snd_virmidi_remove(struct platform_device *devptr) |
133 | { | 133 | { |
134 | snd_card_free(platform_get_drvdata(devptr)); | 134 | snd_card_free(platform_get_drvdata(devptr)); |
135 | platform_set_drvdata(devptr, NULL); | 135 | platform_set_drvdata(devptr, NULL); |
@@ -140,7 +140,7 @@ static int __devexit snd_virmidi_remove(struct platform_device *devptr) | |||
140 | 140 | ||
141 | static struct platform_driver snd_virmidi_driver = { | 141 | static struct platform_driver snd_virmidi_driver = { |
142 | .probe = snd_virmidi_probe, | 142 | .probe = snd_virmidi_probe, |
143 | .remove = __devexit_p(snd_virmidi_remove), | 143 | .remove = snd_virmidi_remove, |
144 | .driver = { | 144 | .driver = { |
145 | .name = SND_VIRMIDI_DRIVER, | 145 | .name = SND_VIRMIDI_DRIVER, |
146 | .owner = THIS_MODULE, | 146 | .owner = THIS_MODULE, |