diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-06 12:35:21 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-12-07 01:32:17 -0500 |
commit | 1bff292e9abec7477d43abb2b93c7fd26c44859b (patch) | |
tree | 6c9a58a0f5aacf99a3ee4a964b1fefd4470b0893 /sound/isa/gus | |
parent | f120a6fb486c2500c9ae11fd2da11fbde29bc186 (diff) |
ALSA: isa: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/gus')
-rw-r--r-- | sound/isa/gus/gusclassic.c | 15 | ||||
-rw-r--r-- | sound/isa/gus/gusextreme.c | 24 | ||||
-rw-r--r-- | sound/isa/gus/gusmax.c | 16 | ||||
-rw-r--r-- | sound/isa/gus/interwave.c | 54 |
4 files changed, 56 insertions, 53 deletions
diff --git a/sound/isa/gus/gusclassic.c b/sound/isa/gus/gusclassic.c index bf6333671613..16bca4e96c08 100644 --- a/sound/isa/gus/gusclassic.c +++ b/sound/isa/gus/gusclassic.c | |||
@@ -73,13 +73,14 @@ MODULE_PARM_DESC(channels, "GF1 channels for " CRD_NAME " driver."); | |||
73 | module_param_array(pcm_channels, int, NULL, 0444); | 73 | module_param_array(pcm_channels, int, NULL, 0444); |
74 | MODULE_PARM_DESC(pcm_channels, "Reserved PCM channels for " CRD_NAME " driver."); | 74 | MODULE_PARM_DESC(pcm_channels, "Reserved PCM channels for " CRD_NAME " driver."); |
75 | 75 | ||
76 | static int __devinit snd_gusclassic_match(struct device *dev, unsigned int n) | 76 | static int snd_gusclassic_match(struct device *dev, unsigned int n) |
77 | { | 77 | { |
78 | return enable[n]; | 78 | return enable[n]; |
79 | } | 79 | } |
80 | 80 | ||
81 | static int __devinit snd_gusclassic_create(struct snd_card *card, | 81 | static int snd_gusclassic_create(struct snd_card *card, |
82 | struct device *dev, unsigned int n, struct snd_gus_card **rgus) | 82 | struct device *dev, unsigned int n, |
83 | struct snd_gus_card **rgus) | ||
83 | { | 84 | { |
84 | static long possible_ports[] = {0x220, 0x230, 0x240, 0x250, 0x260}; | 85 | static long possible_ports[] = {0x220, 0x230, 0x240, 0x250, 0x260}; |
85 | static int possible_irqs[] = {5, 11, 12, 9, 7, 15, 3, 4, -1}; | 86 | static int possible_irqs[] = {5, 11, 12, 9, 7, 15, 3, 4, -1}; |
@@ -123,7 +124,7 @@ static int __devinit snd_gusclassic_create(struct snd_card *card, | |||
123 | return error; | 124 | return error; |
124 | } | 125 | } |
125 | 126 | ||
126 | static int __devinit snd_gusclassic_detect(struct snd_gus_card *gus) | 127 | static int snd_gusclassic_detect(struct snd_gus_card *gus) |
127 | { | 128 | { |
128 | unsigned char d; | 129 | unsigned char d; |
129 | 130 | ||
@@ -142,7 +143,7 @@ static int __devinit snd_gusclassic_detect(struct snd_gus_card *gus) | |||
142 | return 0; | 143 | return 0; |
143 | } | 144 | } |
144 | 145 | ||
145 | static int __devinit snd_gusclassic_probe(struct device *dev, unsigned int n) | 146 | static int snd_gusclassic_probe(struct device *dev, unsigned int n) |
146 | { | 147 | { |
147 | struct snd_card *card; | 148 | struct snd_card *card; |
148 | struct snd_gus_card *gus; | 149 | struct snd_gus_card *gus; |
@@ -211,7 +212,7 @@ out: snd_card_free(card); | |||
211 | return error; | 212 | return error; |
212 | } | 213 | } |
213 | 214 | ||
214 | static int __devexit snd_gusclassic_remove(struct device *dev, unsigned int n) | 215 | static int snd_gusclassic_remove(struct device *dev, unsigned int n) |
215 | { | 216 | { |
216 | snd_card_free(dev_get_drvdata(dev)); | 217 | snd_card_free(dev_get_drvdata(dev)); |
217 | dev_set_drvdata(dev, NULL); | 218 | dev_set_drvdata(dev, NULL); |
@@ -221,7 +222,7 @@ static int __devexit snd_gusclassic_remove(struct device *dev, unsigned int n) | |||
221 | static struct isa_driver snd_gusclassic_driver = { | 222 | static struct isa_driver snd_gusclassic_driver = { |
222 | .match = snd_gusclassic_match, | 223 | .match = snd_gusclassic_match, |
223 | .probe = snd_gusclassic_probe, | 224 | .probe = snd_gusclassic_probe, |
224 | .remove = __devexit_p(snd_gusclassic_remove), | 225 | .remove = snd_gusclassic_remove, |
225 | #if 0 /* FIXME */ | 226 | #if 0 /* FIXME */ |
226 | .suspend = snd_gusclassic_suspend, | 227 | .suspend = snd_gusclassic_suspend, |
227 | .remove = snd_gusclassic_remove, | 228 | .remove = snd_gusclassic_remove, |
diff --git a/sound/isa/gus/gusextreme.c b/sound/isa/gus/gusextreme.c index bc10cc26e5f9..0b9c2426b49f 100644 --- a/sound/isa/gus/gusextreme.c +++ b/sound/isa/gus/gusextreme.c | |||
@@ -89,13 +89,14 @@ MODULE_PARM_DESC(channels, "GF1 channels for " CRD_NAME " driver."); | |||
89 | module_param_array(pcm_channels, int, NULL, 0444); | 89 | module_param_array(pcm_channels, int, NULL, 0444); |
90 | MODULE_PARM_DESC(pcm_channels, "Reserved PCM channels for " CRD_NAME " driver."); | 90 | MODULE_PARM_DESC(pcm_channels, "Reserved PCM channels for " CRD_NAME " driver."); |
91 | 91 | ||
92 | static int __devinit snd_gusextreme_match(struct device *dev, unsigned int n) | 92 | static int snd_gusextreme_match(struct device *dev, unsigned int n) |
93 | { | 93 | { |
94 | return enable[n]; | 94 | return enable[n]; |
95 | } | 95 | } |
96 | 96 | ||
97 | static int __devinit snd_gusextreme_es1688_create(struct snd_card *card, | 97 | static int snd_gusextreme_es1688_create(struct snd_card *card, |
98 | struct snd_es1688 *chip, struct device *dev, unsigned int n) | 98 | struct snd_es1688 *chip, |
99 | struct device *dev, unsigned int n) | ||
99 | { | 100 | { |
100 | static long possible_ports[] = {0x220, 0x240, 0x260}; | 101 | static long possible_ports[] = {0x220, 0x240, 0x260}; |
101 | static int possible_irqs[] = {5, 9, 10, 7, -1}; | 102 | static int possible_irqs[] = {5, 9, 10, 7, -1}; |
@@ -132,8 +133,9 @@ static int __devinit snd_gusextreme_es1688_create(struct snd_card *card, | |||
132 | return error; | 133 | return error; |
133 | } | 134 | } |
134 | 135 | ||
135 | static int __devinit snd_gusextreme_gus_card_create(struct snd_card *card, | 136 | static int snd_gusextreme_gus_card_create(struct snd_card *card, |
136 | struct device *dev, unsigned int n, struct snd_gus_card **rgus) | 137 | struct device *dev, unsigned int n, |
138 | struct snd_gus_card **rgus) | ||
137 | { | 139 | { |
138 | static int possible_irqs[] = {11, 12, 15, 9, 5, 7, 3, -1}; | 140 | static int possible_irqs[] = {11, 12, 15, 9, 5, 7, 3, -1}; |
139 | static int possible_dmas[] = {5, 6, 7, 3, 1, -1}; | 141 | static int possible_dmas[] = {5, 6, 7, 3, 1, -1}; |
@@ -156,8 +158,8 @@ static int __devinit snd_gusextreme_gus_card_create(struct snd_card *card, | |||
156 | 0, channels[n], pcm_channels[n], 0, rgus); | 158 | 0, channels[n], pcm_channels[n], 0, rgus); |
157 | } | 159 | } |
158 | 160 | ||
159 | static int __devinit snd_gusextreme_detect(struct snd_gus_card *gus, | 161 | static int snd_gusextreme_detect(struct snd_gus_card *gus, |
160 | struct snd_es1688 *es1688) | 162 | struct snd_es1688 *es1688) |
161 | { | 163 | { |
162 | unsigned long flags; | 164 | unsigned long flags; |
163 | unsigned char d; | 165 | unsigned char d; |
@@ -206,7 +208,7 @@ static int __devinit snd_gusextreme_detect(struct snd_gus_card *gus, | |||
206 | return 0; | 208 | return 0; |
207 | } | 209 | } |
208 | 210 | ||
209 | static int __devinit snd_gusextreme_mixer(struct snd_card *card) | 211 | static int snd_gusextreme_mixer(struct snd_card *card) |
210 | { | 212 | { |
211 | struct snd_ctl_elem_id id1, id2; | 213 | struct snd_ctl_elem_id id1, id2; |
212 | int error; | 214 | int error; |
@@ -232,7 +234,7 @@ static int __devinit snd_gusextreme_mixer(struct snd_card *card) | |||
232 | return 0; | 234 | return 0; |
233 | } | 235 | } |
234 | 236 | ||
235 | static int __devinit snd_gusextreme_probe(struct device *dev, unsigned int n) | 237 | static int snd_gusextreme_probe(struct device *dev, unsigned int n) |
236 | { | 238 | { |
237 | struct snd_card *card; | 239 | struct snd_card *card; |
238 | struct snd_gus_card *gus; | 240 | struct snd_gus_card *gus; |
@@ -339,7 +341,7 @@ out: snd_card_free(card); | |||
339 | return error; | 341 | return error; |
340 | } | 342 | } |
341 | 343 | ||
342 | static int __devexit snd_gusextreme_remove(struct device *dev, unsigned int n) | 344 | static int snd_gusextreme_remove(struct device *dev, unsigned int n) |
343 | { | 345 | { |
344 | snd_card_free(dev_get_drvdata(dev)); | 346 | snd_card_free(dev_get_drvdata(dev)); |
345 | dev_set_drvdata(dev, NULL); | 347 | dev_set_drvdata(dev, NULL); |
@@ -349,7 +351,7 @@ static int __devexit snd_gusextreme_remove(struct device *dev, unsigned int n) | |||
349 | static struct isa_driver snd_gusextreme_driver = { | 351 | static struct isa_driver snd_gusextreme_driver = { |
350 | .match = snd_gusextreme_match, | 352 | .match = snd_gusextreme_match, |
351 | .probe = snd_gusextreme_probe, | 353 | .probe = snd_gusextreme_probe, |
352 | .remove = __devexit_p(snd_gusextreme_remove), | 354 | .remove = snd_gusextreme_remove, |
353 | #if 0 /* FIXME */ | 355 | #if 0 /* FIXME */ |
354 | .suspend = snd_gusextreme_suspend, | 356 | .suspend = snd_gusextreme_suspend, |
355 | .resume = snd_gusextreme_resume, | 357 | .resume = snd_gusextreme_resume, |
diff --git a/sound/isa/gus/gusmax.c b/sound/isa/gus/gusmax.c index 41c3f448745f..c309a5d0e7e1 100644 --- a/sound/isa/gus/gusmax.c +++ b/sound/isa/gus/gusmax.c | |||
@@ -82,7 +82,7 @@ struct snd_gusmax { | |||
82 | 82 | ||
83 | #define PFX "gusmax: " | 83 | #define PFX "gusmax: " |
84 | 84 | ||
85 | static int __devinit snd_gusmax_detect(struct snd_gus_card * gus) | 85 | static int snd_gusmax_detect(struct snd_gus_card *gus) |
86 | { | 86 | { |
87 | unsigned char d; | 87 | unsigned char d; |
88 | 88 | ||
@@ -124,8 +124,8 @@ static irqreturn_t snd_gusmax_interrupt(int irq, void *dev_id) | |||
124 | return IRQ_RETVAL(handled); | 124 | return IRQ_RETVAL(handled); |
125 | } | 125 | } |
126 | 126 | ||
127 | static void __devinit snd_gusmax_init(int dev, struct snd_card *card, | 127 | static void snd_gusmax_init(int dev, struct snd_card *card, |
128 | struct snd_gus_card * gus) | 128 | struct snd_gus_card *gus) |
129 | { | 129 | { |
130 | gus->equal_irq = 1; | 130 | gus->equal_irq = 1; |
131 | gus->codec_flag = 1; | 131 | gus->codec_flag = 1; |
@@ -140,7 +140,7 @@ static void __devinit snd_gusmax_init(int dev, struct snd_card *card, | |||
140 | outb(gus->max_cntrl_val, GUSP(gus, MAXCNTRLPORT)); | 140 | outb(gus->max_cntrl_val, GUSP(gus, MAXCNTRLPORT)); |
141 | } | 141 | } |
142 | 142 | ||
143 | static int __devinit snd_gusmax_mixer(struct snd_wss *chip) | 143 | static int snd_gusmax_mixer(struct snd_wss *chip) |
144 | { | 144 | { |
145 | struct snd_card *card = chip->card; | 145 | struct snd_card *card = chip->card; |
146 | struct snd_ctl_elem_id id1, id2; | 146 | struct snd_ctl_elem_id id1, id2; |
@@ -199,12 +199,12 @@ static void snd_gusmax_free(struct snd_card *card) | |||
199 | free_irq(maxcard->irq, (void *)maxcard); | 199 | free_irq(maxcard->irq, (void *)maxcard); |
200 | } | 200 | } |
201 | 201 | ||
202 | static int __devinit snd_gusmax_match(struct device *pdev, unsigned int dev) | 202 | static int snd_gusmax_match(struct device *pdev, unsigned int dev) |
203 | { | 203 | { |
204 | return enable[dev]; | 204 | return enable[dev]; |
205 | } | 205 | } |
206 | 206 | ||
207 | static int __devinit snd_gusmax_probe(struct device *pdev, unsigned int dev) | 207 | static int snd_gusmax_probe(struct device *pdev, unsigned int dev) |
208 | { | 208 | { |
209 | static int possible_irqs[] = {5, 11, 12, 9, 7, 15, 3, -1}; | 209 | static int possible_irqs[] = {5, 11, 12, 9, 7, 15, 3, -1}; |
210 | static int possible_dmas[] = {5, 6, 7, 1, 3, -1}; | 210 | static int possible_dmas[] = {5, 6, 7, 1, 3, -1}; |
@@ -354,7 +354,7 @@ static int __devinit snd_gusmax_probe(struct device *pdev, unsigned int dev) | |||
354 | return err; | 354 | return err; |
355 | } | 355 | } |
356 | 356 | ||
357 | static int __devexit snd_gusmax_remove(struct device *devptr, unsigned int dev) | 357 | static int snd_gusmax_remove(struct device *devptr, unsigned int dev) |
358 | { | 358 | { |
359 | snd_card_free(dev_get_drvdata(devptr)); | 359 | snd_card_free(dev_get_drvdata(devptr)); |
360 | dev_set_drvdata(devptr, NULL); | 360 | dev_set_drvdata(devptr, NULL); |
@@ -366,7 +366,7 @@ static int __devexit snd_gusmax_remove(struct device *devptr, unsigned int dev) | |||
366 | static struct isa_driver snd_gusmax_driver = { | 366 | static struct isa_driver snd_gusmax_driver = { |
367 | .match = snd_gusmax_match, | 367 | .match = snd_gusmax_match, |
368 | .probe = snd_gusmax_probe, | 368 | .probe = snd_gusmax_probe, |
369 | .remove = __devexit_p(snd_gusmax_remove), | 369 | .remove = snd_gusmax_remove, |
370 | /* FIXME: suspend/resume */ | 370 | /* FIXME: suspend/resume */ |
371 | .driver = { | 371 | .driver = { |
372 | .name = DEV_NAME | 372 | .name = DEV_NAME |
diff --git a/sound/isa/gus/interwave.c b/sound/isa/gus/interwave.c index 3fc8b66fd167..78bc5744e89a 100644 --- a/sound/isa/gus/interwave.c +++ b/sound/isa/gus/interwave.c | |||
@@ -207,9 +207,9 @@ static struct snd_i2c_bit_ops snd_interwave_i2c_bit_ops = { | |||
207 | .getdata = snd_interwave_i2c_getdataline, | 207 | .getdata = snd_interwave_i2c_getdataline, |
208 | }; | 208 | }; |
209 | 209 | ||
210 | static int __devinit snd_interwave_detect_stb(struct snd_interwave *iwcard, | 210 | static int snd_interwave_detect_stb(struct snd_interwave *iwcard, |
211 | struct snd_gus_card * gus, int dev, | 211 | struct snd_gus_card *gus, int dev, |
212 | struct snd_i2c_bus **rbus) | 212 | struct snd_i2c_bus **rbus) |
213 | { | 213 | { |
214 | unsigned long port; | 214 | unsigned long port; |
215 | struct snd_i2c_bus *bus; | 215 | struct snd_i2c_bus *bus; |
@@ -249,11 +249,11 @@ static int __devinit snd_interwave_detect_stb(struct snd_interwave *iwcard, | |||
249 | } | 249 | } |
250 | #endif | 250 | #endif |
251 | 251 | ||
252 | static int __devinit snd_interwave_detect(struct snd_interwave *iwcard, | 252 | static int snd_interwave_detect(struct snd_interwave *iwcard, |
253 | struct snd_gus_card * gus, | 253 | struct snd_gus_card *gus, |
254 | int dev | 254 | int dev |
255 | #ifdef SNDRV_STB | 255 | #ifdef SNDRV_STB |
256 | , struct snd_i2c_bus **rbus | 256 | , struct snd_i2c_bus **rbus |
257 | #endif | 257 | #endif |
258 | ) | 258 | ) |
259 | { | 259 | { |
@@ -318,7 +318,7 @@ static irqreturn_t snd_interwave_interrupt(int irq, void *dev_id) | |||
318 | return IRQ_RETVAL(handled); | 318 | return IRQ_RETVAL(handled); |
319 | } | 319 | } |
320 | 320 | ||
321 | static void __devinit snd_interwave_reset(struct snd_gus_card * gus) | 321 | static void snd_interwave_reset(struct snd_gus_card *gus) |
322 | { | 322 | { |
323 | snd_gf1_write8(gus, SNDRV_GF1_GB_RESET, 0x00); | 323 | snd_gf1_write8(gus, SNDRV_GF1_GB_RESET, 0x00); |
324 | udelay(160); | 324 | udelay(160); |
@@ -326,7 +326,7 @@ static void __devinit snd_interwave_reset(struct snd_gus_card * gus) | |||
326 | udelay(160); | 326 | udelay(160); |
327 | } | 327 | } |
328 | 328 | ||
329 | static void __devinit snd_interwave_bank_sizes(struct snd_gus_card * gus, int *sizes) | 329 | static void snd_interwave_bank_sizes(struct snd_gus_card *gus, int *sizes) |
330 | { | 330 | { |
331 | unsigned int idx; | 331 | unsigned int idx; |
332 | unsigned int local; | 332 | unsigned int local; |
@@ -377,7 +377,7 @@ struct rom_hdr { | |||
377 | /* 511 */ unsigned char csum; | 377 | /* 511 */ unsigned char csum; |
378 | }; | 378 | }; |
379 | 379 | ||
380 | static void __devinit snd_interwave_detect_memory(struct snd_gus_card * gus) | 380 | static void snd_interwave_detect_memory(struct snd_gus_card *gus) |
381 | { | 381 | { |
382 | static unsigned int lmc[13] = | 382 | static unsigned int lmc[13] = |
383 | { | 383 | { |
@@ -475,7 +475,7 @@ static void __devinit snd_interwave_detect_memory(struct snd_gus_card * gus) | |||
475 | snd_interwave_reset(gus); | 475 | snd_interwave_reset(gus); |
476 | } | 476 | } |
477 | 477 | ||
478 | static void __devinit snd_interwave_init(int dev, struct snd_gus_card * gus) | 478 | static void snd_interwave_init(int dev, struct snd_gus_card *gus) |
479 | { | 479 | { |
480 | unsigned long flags; | 480 | unsigned long flags; |
481 | 481 | ||
@@ -508,7 +508,7 @@ WSS_DOUBLE("Mic Playback Volume", 0, | |||
508 | CS4231_LEFT_MIC_INPUT, CS4231_RIGHT_MIC_INPUT, 0, 0, 31, 1) | 508 | CS4231_LEFT_MIC_INPUT, CS4231_RIGHT_MIC_INPUT, 0, 0, 31, 1) |
509 | }; | 509 | }; |
510 | 510 | ||
511 | static int __devinit snd_interwave_mixer(struct snd_wss *chip) | 511 | static int snd_interwave_mixer(struct snd_wss *chip) |
512 | { | 512 | { |
513 | struct snd_card *card = chip->card; | 513 | struct snd_card *card = chip->card; |
514 | struct snd_ctl_elem_id id1, id2; | 514 | struct snd_ctl_elem_id id1, id2; |
@@ -558,9 +558,9 @@ static int __devinit snd_interwave_mixer(struct snd_wss *chip) | |||
558 | 558 | ||
559 | #ifdef CONFIG_PNP | 559 | #ifdef CONFIG_PNP |
560 | 560 | ||
561 | static int __devinit snd_interwave_pnp(int dev, struct snd_interwave *iwcard, | 561 | static int snd_interwave_pnp(int dev, struct snd_interwave *iwcard, |
562 | struct pnp_card_link *card, | 562 | struct pnp_card_link *card, |
563 | const struct pnp_card_device_id *id) | 563 | const struct pnp_card_device_id *id) |
564 | { | 564 | { |
565 | struct pnp_dev *pdev; | 565 | struct pnp_dev *pdev; |
566 | int err; | 566 | int err; |
@@ -644,7 +644,7 @@ static int snd_interwave_card_new(int dev, struct snd_card **cardp) | |||
644 | return 0; | 644 | return 0; |
645 | } | 645 | } |
646 | 646 | ||
647 | static int __devinit snd_interwave_probe(struct snd_card *card, int dev) | 647 | static int snd_interwave_probe(struct snd_card *card, int dev) |
648 | { | 648 | { |
649 | int xirq, xdma1, xdma2; | 649 | int xirq, xdma1, xdma2; |
650 | struct snd_interwave *iwcard = card->private_data; | 650 | struct snd_interwave *iwcard = card->private_data; |
@@ -775,7 +775,7 @@ static int __devinit snd_interwave_probe(struct snd_card *card, int dev) | |||
775 | return 0; | 775 | return 0; |
776 | } | 776 | } |
777 | 777 | ||
778 | static int __devinit snd_interwave_isa_probe1(int dev, struct device *devptr) | 778 | static int snd_interwave_isa_probe1(int dev, struct device *devptr) |
779 | { | 779 | { |
780 | struct snd_card *card; | 780 | struct snd_card *card; |
781 | int err; | 781 | int err; |
@@ -793,8 +793,8 @@ static int __devinit snd_interwave_isa_probe1(int dev, struct device *devptr) | |||
793 | return 0; | 793 | return 0; |
794 | } | 794 | } |
795 | 795 | ||
796 | static int __devinit snd_interwave_isa_match(struct device *pdev, | 796 | static int snd_interwave_isa_match(struct device *pdev, |
797 | unsigned int dev) | 797 | unsigned int dev) |
798 | { | 798 | { |
799 | if (!enable[dev]) | 799 | if (!enable[dev]) |
800 | return 0; | 800 | return 0; |
@@ -805,8 +805,8 @@ static int __devinit snd_interwave_isa_match(struct device *pdev, | |||
805 | return 1; | 805 | return 1; |
806 | } | 806 | } |
807 | 807 | ||
808 | static int __devinit snd_interwave_isa_probe(struct device *pdev, | 808 | static int snd_interwave_isa_probe(struct device *pdev, |
809 | unsigned int dev) | 809 | unsigned int dev) |
810 | { | 810 | { |
811 | int err; | 811 | int err; |
812 | static int possible_irqs[] = {5, 11, 12, 9, 7, 15, 3, -1}; | 812 | static int possible_irqs[] = {5, 11, 12, 9, 7, 15, 3, -1}; |
@@ -846,7 +846,7 @@ static int __devinit snd_interwave_isa_probe(struct device *pdev, | |||
846 | } | 846 | } |
847 | } | 847 | } |
848 | 848 | ||
849 | static int __devexit snd_interwave_isa_remove(struct device *devptr, unsigned int dev) | 849 | static int snd_interwave_isa_remove(struct device *devptr, unsigned int dev) |
850 | { | 850 | { |
851 | snd_card_free(dev_get_drvdata(devptr)); | 851 | snd_card_free(dev_get_drvdata(devptr)); |
852 | dev_set_drvdata(devptr, NULL); | 852 | dev_set_drvdata(devptr, NULL); |
@@ -856,7 +856,7 @@ static int __devexit snd_interwave_isa_remove(struct device *devptr, unsigned in | |||
856 | static struct isa_driver snd_interwave_driver = { | 856 | static struct isa_driver snd_interwave_driver = { |
857 | .match = snd_interwave_isa_match, | 857 | .match = snd_interwave_isa_match, |
858 | .probe = snd_interwave_isa_probe, | 858 | .probe = snd_interwave_isa_probe, |
859 | .remove = __devexit_p(snd_interwave_isa_remove), | 859 | .remove = snd_interwave_isa_remove, |
860 | /* FIXME: suspend,resume */ | 860 | /* FIXME: suspend,resume */ |
861 | .driver = { | 861 | .driver = { |
862 | .name = INTERWAVE_DRIVER | 862 | .name = INTERWAVE_DRIVER |
@@ -864,8 +864,8 @@ static struct isa_driver snd_interwave_driver = { | |||
864 | }; | 864 | }; |
865 | 865 | ||
866 | #ifdef CONFIG_PNP | 866 | #ifdef CONFIG_PNP |
867 | static int __devinit snd_interwave_pnp_detect(struct pnp_card_link *pcard, | 867 | static int snd_interwave_pnp_detect(struct pnp_card_link *pcard, |
868 | const struct pnp_card_device_id *pid) | 868 | const struct pnp_card_device_id *pid) |
869 | { | 869 | { |
870 | static int dev; | 870 | static int dev; |
871 | struct snd_card *card; | 871 | struct snd_card *card; |
@@ -896,7 +896,7 @@ static int __devinit snd_interwave_pnp_detect(struct pnp_card_link *pcard, | |||
896 | return 0; | 896 | return 0; |
897 | } | 897 | } |
898 | 898 | ||
899 | static void __devexit snd_interwave_pnp_remove(struct pnp_card_link * pcard) | 899 | static void snd_interwave_pnp_remove(struct pnp_card_link *pcard) |
900 | { | 900 | { |
901 | snd_card_free(pnp_get_card_drvdata(pcard)); | 901 | snd_card_free(pnp_get_card_drvdata(pcard)); |
902 | pnp_set_card_drvdata(pcard, NULL); | 902 | pnp_set_card_drvdata(pcard, NULL); |
@@ -907,7 +907,7 @@ static struct pnp_card_driver interwave_pnpc_driver = { | |||
907 | .name = INTERWAVE_PNP_DRIVER, | 907 | .name = INTERWAVE_PNP_DRIVER, |
908 | .id_table = snd_interwave_pnpids, | 908 | .id_table = snd_interwave_pnpids, |
909 | .probe = snd_interwave_pnp_detect, | 909 | .probe = snd_interwave_pnp_detect, |
910 | .remove = __devexit_p(snd_interwave_pnp_remove), | 910 | .remove = snd_interwave_pnp_remove, |
911 | /* FIXME: suspend,resume */ | 911 | /* FIXME: suspend,resume */ |
912 | }; | 912 | }; |
913 | 913 | ||