diff options
Diffstat (limited to 'sound/pci/ice1712/juli.c')
-rw-r--r-- | sound/pci/ice1712/juli.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sound/pci/ice1712/juli.c b/sound/pci/ice1712/juli.c index 14fd536b6452..8855933e710d 100644 --- a/sound/pci/ice1712/juli.c +++ b/sound/pci/ice1712/juli.c | |||
@@ -23,7 +23,6 @@ | |||
23 | * | 23 | * |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include <asm/io.h> | ||
27 | #include <linux/delay.h> | 26 | #include <linux/delay.h> |
28 | #include <linux/interrupt.h> | 27 | #include <linux/interrupt.h> |
29 | #include <linux/init.h> | 28 | #include <linux/init.h> |
@@ -283,7 +282,7 @@ static const struct snd_akm4xxx_dac_channel juli_dac[] = { | |||
283 | }; | 282 | }; |
284 | 283 | ||
285 | 284 | ||
286 | static struct snd_akm4xxx akm_juli_dac __devinitdata = { | 285 | static struct snd_akm4xxx akm_juli_dac = { |
287 | .type = SND_AK4358, | 286 | .type = SND_AK4358, |
288 | .num_dacs = 8, /* DAC1 - analog out | 287 | .num_dacs = 8, /* DAC1 - analog out |
289 | DAC2 - analog in monitor | 288 | DAC2 - analog in monitor |
@@ -358,7 +357,7 @@ static int juli_mute_put(struct snd_kcontrol *kcontrol, | |||
358 | return 0; | 357 | return 0; |
359 | } | 358 | } |
360 | 359 | ||
361 | static struct snd_kcontrol_new juli_mute_controls[] __devinitdata = { | 360 | static struct snd_kcontrol_new juli_mute_controls[] = { |
362 | { | 361 | { |
363 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 362 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
364 | .name = "Master Playback Switch", | 363 | .name = "Master Playback Switch", |
@@ -412,7 +411,7 @@ static struct snd_kcontrol_new juli_mute_controls[] __devinitdata = { | |||
412 | }, | 411 | }, |
413 | }; | 412 | }; |
414 | 413 | ||
415 | static char *slave_vols[] __devinitdata = { | 414 | static char *slave_vols[] = { |
416 | PCM_VOLUME, | 415 | PCM_VOLUME, |
417 | MONITOR_AN_IN_VOLUME, | 416 | MONITOR_AN_IN_VOLUME, |
418 | MONITOR_DIG_IN_VOLUME, | 417 | MONITOR_DIG_IN_VOLUME, |
@@ -420,11 +419,11 @@ static char *slave_vols[] __devinitdata = { | |||
420 | NULL | 419 | NULL |
421 | }; | 420 | }; |
422 | 421 | ||
423 | static __devinitdata | 422 | static |
424 | DECLARE_TLV_DB_SCALE(juli_master_db_scale, -6350, 50, 1); | 423 | DECLARE_TLV_DB_SCALE(juli_master_db_scale, -6350, 50, 1); |
425 | 424 | ||
426 | static struct snd_kcontrol __devinit *ctl_find(struct snd_card *card, | 425 | static struct snd_kcontrol *ctl_find(struct snd_card *card, |
427 | const char *name) | 426 | const char *name) |
428 | { | 427 | { |
429 | struct snd_ctl_elem_id sid; | 428 | struct snd_ctl_elem_id sid; |
430 | memset(&sid, 0, sizeof(sid)); | 429 | memset(&sid, 0, sizeof(sid)); |
@@ -434,8 +433,9 @@ static struct snd_kcontrol __devinit *ctl_find(struct snd_card *card, | |||
434 | return snd_ctl_find_id(card, &sid); | 433 | return snd_ctl_find_id(card, &sid); |
435 | } | 434 | } |
436 | 435 | ||
437 | static void __devinit add_slaves(struct snd_card *card, | 436 | static void add_slaves(struct snd_card *card, |
438 | struct snd_kcontrol *master, char **list) | 437 | struct snd_kcontrol *master, |
438 | char * const *list) | ||
439 | { | 439 | { |
440 | for (; *list; list++) { | 440 | for (; *list; list++) { |
441 | struct snd_kcontrol *slave = ctl_find(card, *list); | 441 | struct snd_kcontrol *slave = ctl_find(card, *list); |
@@ -447,7 +447,7 @@ static void __devinit add_slaves(struct snd_card *card, | |||
447 | } | 447 | } |
448 | } | 448 | } |
449 | 449 | ||
450 | static int __devinit juli_add_controls(struct snd_ice1712 *ice) | 450 | static int juli_add_controls(struct snd_ice1712 *ice) |
451 | { | 451 | { |
452 | struct juli_spec *spec = ice->spec; | 452 | struct juli_spec *spec = ice->spec; |
453 | int err; | 453 | int err; |
@@ -579,7 +579,7 @@ static void juli_ak4114_change(struct ak4114 *ak4114, unsigned char c0, | |||
579 | } | 579 | } |
580 | } | 580 | } |
581 | 581 | ||
582 | static int __devinit juli_init(struct snd_ice1712 *ice) | 582 | static int juli_init(struct snd_ice1712 *ice) |
583 | { | 583 | { |
584 | static const unsigned char ak4114_init_vals[] = { | 584 | static const unsigned char ak4114_init_vals[] = { |
585 | /* AK4117_REG_PWRDN */ AK4114_RST | AK4114_PWN | | 585 | /* AK4117_REG_PWRDN */ AK4114_RST | AK4114_PWN | |
@@ -667,7 +667,7 @@ static int __devinit juli_init(struct snd_ice1712 *ice) | |||
667 | * hence the driver needs to sets up it properly. | 667 | * hence the driver needs to sets up it properly. |
668 | */ | 668 | */ |
669 | 669 | ||
670 | static unsigned char juli_eeprom[] __devinitdata = { | 670 | static unsigned char juli_eeprom[] = { |
671 | [ICE_EEP2_SYSCONF] = 0x2b, /* clock 512, mpu401, 1xADC, 1xDACs, | 671 | [ICE_EEP2_SYSCONF] = 0x2b, /* clock 512, mpu401, 1xADC, 1xDACs, |
672 | SPDIF in */ | 672 | SPDIF in */ |
673 | [ICE_EEP2_ACLINK] = 0x80, /* I2S */ | 673 | [ICE_EEP2_ACLINK] = 0x80, /* I2S */ |
@@ -686,7 +686,7 @@ static unsigned char juli_eeprom[] __devinitdata = { | |||
686 | }; | 686 | }; |
687 | 687 | ||
688 | /* entry point */ | 688 | /* entry point */ |
689 | struct snd_ice1712_card_info snd_vt1724_juli_cards[] __devinitdata = { | 689 | struct snd_ice1712_card_info snd_vt1724_juli_cards[] = { |
690 | { | 690 | { |
691 | .subvendor = VT1724_SUBDEVICE_JULI, | 691 | .subvendor = VT1724_SUBDEVICE_JULI, |
692 | .name = "ESI Juli@", | 692 | .name = "ESI Juli@", |