diff options
Diffstat (limited to 'sound/pci/aw2/aw2-alsa.c')
-rw-r--r-- | sound/pci/aw2/aw2-alsa.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sound/pci/aw2/aw2-alsa.c b/sound/pci/aw2/aw2-alsa.c index 0f804741825f..08e9a4702cbc 100644 --- a/sound/pci/aw2/aw2-alsa.c +++ b/sound/pci/aw2/aw2-alsa.c | |||
@@ -113,11 +113,11 @@ struct aw2 { | |||
113 | * FUNCTION DECLARATIONS | 113 | * FUNCTION DECLARATIONS |
114 | ********************************/ | 114 | ********************************/ |
115 | static int snd_aw2_dev_free(struct snd_device *device); | 115 | static int snd_aw2_dev_free(struct snd_device *device); |
116 | static int __devinit snd_aw2_create(struct snd_card *card, | 116 | static int snd_aw2_create(struct snd_card *card, |
117 | struct pci_dev *pci, struct aw2 **rchip); | 117 | struct pci_dev *pci, struct aw2 **rchip); |
118 | static int __devinit snd_aw2_probe(struct pci_dev *pci, | 118 | static int snd_aw2_probe(struct pci_dev *pci, |
119 | const struct pci_device_id *pci_id); | 119 | const struct pci_device_id *pci_id); |
120 | static void __devexit snd_aw2_remove(struct pci_dev *pci); | 120 | static void snd_aw2_remove(struct pci_dev *pci); |
121 | static int snd_aw2_pcm_playback_open(struct snd_pcm_substream *substream); | 121 | static int snd_aw2_pcm_playback_open(struct snd_pcm_substream *substream); |
122 | static int snd_aw2_pcm_playback_close(struct snd_pcm_substream *substream); | 122 | static int snd_aw2_pcm_playback_close(struct snd_pcm_substream *substream); |
123 | static int snd_aw2_pcm_capture_open(struct snd_pcm_substream *substream); | 123 | static int snd_aw2_pcm_capture_open(struct snd_pcm_substream *substream); |
@@ -135,7 +135,7 @@ static snd_pcm_uframes_t snd_aw2_pcm_pointer_playback(struct snd_pcm_substream | |||
135 | *substream); | 135 | *substream); |
136 | static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream | 136 | static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream |
137 | *substream); | 137 | *substream); |
138 | static int __devinit snd_aw2_new_pcm(struct aw2 *chip); | 138 | static int snd_aw2_new_pcm(struct aw2 *chip); |
139 | 139 | ||
140 | static int snd_aw2_control_switch_capture_info(struct snd_kcontrol *kcontrol, | 140 | static int snd_aw2_control_switch_capture_info(struct snd_kcontrol *kcontrol, |
141 | struct snd_ctl_elem_info *uinfo); | 141 | struct snd_ctl_elem_info *uinfo); |
@@ -173,7 +173,7 @@ static struct pci_driver aw2_driver = { | |||
173 | .name = KBUILD_MODNAME, | 173 | .name = KBUILD_MODNAME, |
174 | .id_table = snd_aw2_ids, | 174 | .id_table = snd_aw2_ids, |
175 | .probe = snd_aw2_probe, | 175 | .probe = snd_aw2_probe, |
176 | .remove = __devexit_p(snd_aw2_remove), | 176 | .remove = snd_aw2_remove, |
177 | }; | 177 | }; |
178 | 178 | ||
179 | module_pci_driver(aw2_driver); | 179 | module_pci_driver(aw2_driver); |
@@ -202,7 +202,7 @@ static struct snd_pcm_ops snd_aw2_capture_ops = { | |||
202 | .pointer = snd_aw2_pcm_pointer_capture, | 202 | .pointer = snd_aw2_pcm_pointer_capture, |
203 | }; | 203 | }; |
204 | 204 | ||
205 | static struct snd_kcontrol_new aw2_control __devinitdata = { | 205 | static struct snd_kcontrol_new aw2_control = { |
206 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 206 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
207 | .name = "PCM Capture Route", | 207 | .name = "PCM Capture Route", |
208 | .index = 0, | 208 | .index = 0, |
@@ -242,8 +242,8 @@ static int snd_aw2_dev_free(struct snd_device *device) | |||
242 | } | 242 | } |
243 | 243 | ||
244 | /* chip-specific constructor */ | 244 | /* chip-specific constructor */ |
245 | static int __devinit snd_aw2_create(struct snd_card *card, | 245 | static int snd_aw2_create(struct snd_card *card, |
246 | struct pci_dev *pci, struct aw2 **rchip) | 246 | struct pci_dev *pci, struct aw2 **rchip) |
247 | { | 247 | { |
248 | struct aw2 *chip; | 248 | struct aw2 *chip; |
249 | int err; | 249 | int err; |
@@ -332,8 +332,8 @@ static int __devinit snd_aw2_create(struct snd_card *card, | |||
332 | } | 332 | } |
333 | 333 | ||
334 | /* constructor */ | 334 | /* constructor */ |
335 | static int __devinit snd_aw2_probe(struct pci_dev *pci, | 335 | static int snd_aw2_probe(struct pci_dev *pci, |
336 | const struct pci_device_id *pci_id) | 336 | const struct pci_device_id *pci_id) |
337 | { | 337 | { |
338 | static int dev; | 338 | static int dev; |
339 | struct snd_card *card; | 339 | struct snd_card *card; |
@@ -389,7 +389,7 @@ static int __devinit snd_aw2_probe(struct pci_dev *pci, | |||
389 | } | 389 | } |
390 | 390 | ||
391 | /* destructor */ | 391 | /* destructor */ |
392 | static void __devexit snd_aw2_remove(struct pci_dev *pci) | 392 | static void snd_aw2_remove(struct pci_dev *pci) |
393 | { | 393 | { |
394 | snd_card_free(pci_get_drvdata(pci)); | 394 | snd_card_free(pci_get_drvdata(pci)); |
395 | pci_set_drvdata(pci, NULL); | 395 | pci_set_drvdata(pci, NULL); |
@@ -591,7 +591,7 @@ static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream | |||
591 | } | 591 | } |
592 | 592 | ||
593 | /* create a pcm device */ | 593 | /* create a pcm device */ |
594 | static int __devinit snd_aw2_new_pcm(struct aw2 *chip) | 594 | static int snd_aw2_new_pcm(struct aw2 *chip) |
595 | { | 595 | { |
596 | struct snd_pcm *pcm_playback_ana; | 596 | struct snd_pcm *pcm_playback_ana; |
597 | struct snd_pcm *pcm_playback_num; | 597 | struct snd_pcm *pcm_playback_num; |