diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-05-02 11:29:30 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-05-02 11:29:30 +0200 |
commit | 031024eea8d4b2a11331a7c269216e067a46625e (patch) | |
tree | 00cf53c376592b09ed7cb05154ebd2cba15427ca /sound/pci/hda/hda_codec.c | |
parent | a3ea8e8f2474c35b4c3e22262991afddb93c4c0e (diff) | |
download | op-kernel-dev-031024eea8d4b2a11331a7c269216e067a46625e.zip op-kernel-dev-031024eea8d4b2a11331a7c269216e067a46625e.tar.gz |
ALSA: hda - Constify some API function arguments
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 2c40e41..d1a2351 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -3872,7 +3872,8 @@ EXPORT_SYMBOL_HDA(snd_hda_check_board_codec_sid_config); * * Returns 0 if successful, or a negative error code. */ -int snd_hda_add_new_ctls(struct hda_codec *codec, struct snd_kcontrol_new *knew) +int snd_hda_add_new_ctls(struct hda_codec *codec, + const struct snd_kcontrol_new *knew) { int err; @@ -4015,7 +4016,7 @@ int snd_hda_check_amp_list_power(struct hda_codec *codec, struct hda_loopback_check *check, hda_nid_t nid) { - struct hda_amp_list *p; + const struct hda_amp_list *p; int ch, v; if (!check->amplist) |