diff options
Diffstat (limited to 'sound/drivers/pcsp/pcsp.c')
-rw-r--r-- | sound/drivers/pcsp/pcsp.c | 14 |
1 files changed, 7 insertions, 7 deletions
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 | ||