aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712/wtm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ice1712/wtm.c')
-rw-r--r--sound/pci/ice1712/wtm.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sound/pci/ice1712/wtm.c b/sound/pci/ice1712/wtm.c
index e618f789026e..bcf30a387b87 100644
--- a/sound/pci/ice1712/wtm.c
+++ b/sound/pci/ice1712/wtm.c
@@ -25,7 +25,6 @@
25 25
26 26
27 27
28#include <linux/io.h>
29#include <linux/delay.h> 28#include <linux/delay.h>
30#include <linux/interrupt.h> 29#include <linux/interrupt.h>
31#include <linux/init.h> 30#include <linux/init.h>
@@ -384,7 +383,7 @@ static int stac9460_mic_sw_put(struct snd_kcontrol *kcontrol,
384/* 383/*
385 * Control tabs 384 * Control tabs
386 */ 385 */
387static struct snd_kcontrol_new stac9640_controls[] __devinitdata = { 386static struct snd_kcontrol_new stac9640_controls[] = {
388 { 387 {
389 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 388 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
390 .name = "Master Playback Switch", 389 .name = "Master Playback Switch",
@@ -448,7 +447,7 @@ static struct snd_kcontrol_new stac9640_controls[] __devinitdata = {
448 447
449 448
450/*INIT*/ 449/*INIT*/
451static int __devinit wtm_add_controls(struct snd_ice1712 *ice) 450static int wtm_add_controls(struct snd_ice1712 *ice)
452{ 451{
453 unsigned int i; 452 unsigned int i;
454 int err; 453 int err;
@@ -462,7 +461,7 @@ static int __devinit wtm_add_controls(struct snd_ice1712 *ice)
462 return 0; 461 return 0;
463} 462}
464 463
465static int __devinit wtm_init(struct snd_ice1712 *ice) 464static int wtm_init(struct snd_ice1712 *ice)
466{ 465{
467 static unsigned short stac_inits_prodigy[] = { 466 static unsigned short stac_inits_prodigy[] = {
468 STAC946X_RESET, 0, 467 STAC946X_RESET, 0,
@@ -485,7 +484,7 @@ static int __devinit wtm_init(struct snd_ice1712 *ice)
485} 484}
486 485
487 486
488static unsigned char wtm_eeprom[] __devinitdata = { 487static unsigned char wtm_eeprom[] = {
489 0x47, /*SYSCONF: clock 192KHz, 4ADC, 8DAC */ 488 0x47, /*SYSCONF: clock 192KHz, 4ADC, 8DAC */
490 0x80, /* ACLINK : I2S */ 489 0x80, /* ACLINK : I2S */
491 0xf8, /* I2S: vol; 96k, 24bit, 192k */ 490 0xf8, /* I2S: vol; 96k, 24bit, 192k */
@@ -503,7 +502,7 @@ static unsigned char wtm_eeprom[] __devinitdata = {
503 502
504 503
505/*entry point*/ 504/*entry point*/
506struct snd_ice1712_card_info snd_vt1724_wtm_cards[] __devinitdata = { 505struct snd_ice1712_card_info snd_vt1724_wtm_cards[] = {
507 { 506 {
508 .subvendor = VT1724_SUBDEVICE_WTM, 507 .subvendor = VT1724_SUBDEVICE_WTM,
509 .name = "ESI Waveterminal 192M", 508 .name = "ESI Waveterminal 192M",