Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248448
b: refs/heads/master
c: 031024e
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed May 2, 2011
1 parent e756070 commit 83af214
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3ea8e8f2474c35b4c3e22262991afddb93c4c0e
refs/heads/master: 031024eea8d4b2a11331a7c269216e067a46625e
5 changes: 3 additions & 2 deletions trunk/sound/pci/hda/hda_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions trunk/sound/pci/hda/hda_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ int snd_hda_check_board_codec_sid_config(struct hda_codec *codec,
int num_configs, const char * const *models,
const struct snd_pci_quirk *tbl);
int snd_hda_add_new_ctls(struct hda_codec *codec,
struct snd_kcontrol_new *knew);
const struct snd_kcontrol_new *knew);

/*
* unsolicited event handler
Expand Down Expand Up @@ -567,7 +567,7 @@ struct hda_amp_list {
};

struct hda_loopback_check {
struct hda_amp_list *amplist;
const struct hda_amp_list *amplist;
int power_on;
};

Expand Down

0 comments on commit 83af214

Please sign in to comment.