diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-05-02 11:29:30 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-05-02 12:07:48 +0200 |
commit | dda144103c4a47a504fcaa8cddd08a4440c87060 (patch) | |
tree | 3d6435dbb61e37349153b63326123606d6cd5dba /sound/pci/hda/patch_analog.c | |
parent | ALSA: hda - Constify fixup and other array data in patch_realtek.c (diff) | |
download | linux-dda144103c4a47a504fcaa8cddd08a4440c87060.tar.xz linux-dda144103c4a47a504fcaa8cddd08a4440c87060.zip |
ALSA: hda - Constify some API function arguments
Also fixed the assignment of multiout.dac_nids to satisfy const.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
-rw-r--r-- | sound/pci/hda/patch_analog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 12317488cd98..6df9943bbf65 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c @@ -2845,7 +2845,7 @@ static int ad1988_auto_fill_dac_nids(struct hda_codec *codec, /* check the pins hardwired to audio widget */ for (i = 0; i < cfg->line_outs; i++) { idx = ad1988_pin_idx(cfg->line_out_pins[i]); - spec->multiout.dac_nids[i] = ad1988_idx_to_dac(codec, idx); + spec->private_dac_nids[i] = ad1988_idx_to_dac(codec, idx); } spec->multiout.num_dacs = cfg->line_outs; return 0; |