From 4f404760a825a520a223350a9fb0853112e2e170 Mon Sep 17 00:00:00 2001 From: Daniel J Blueman Date: Sun, 4 Nov 2012 13:19:04 +0800 Subject: [PATCH] --- yaml --- r: 335507 b: refs/heads/master c: 00e17f767e3e8d42b83a12af3ed16e3129e4feb0 h: refs/heads/master i: 335505: 73cf6e63ad2e421fac65a6949fe44da77bb2c460 335503: 4ced19d33ce95d8259008770381935a87eecf7bd v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_cirrus.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 3f9a217f92fe..1d8b42b7aaa9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 16337e028a6dae9fbdd718c0d42161540a668ff3 +refs/heads/master: 00e17f767e3e8d42b83a12af3ed16e3129e4feb0 diff --git a/trunk/sound/pci/hda/patch_cirrus.c b/trunk/sound/pci/hda/patch_cirrus.c index 859a1197e080..d5f3a26d608d 100644 --- a/trunk/sound/pci/hda/patch_cirrus.c +++ b/trunk/sound/pci/hda/patch_cirrus.c @@ -1732,8 +1732,7 @@ static int cs421x_mux_enum_put(struct snd_kcontrol *kcontrol, } -static struct snd_kcontrol_new cs421x_capture_source = { - +static const struct snd_kcontrol_new cs421x_capture_source = { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = "Capture Source", .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, @@ -1950,7 +1949,7 @@ static int cs421x_suspend(struct hda_codec *codec) } #endif -static struct hda_codec_ops cs421x_patch_ops = { +static const struct hda_codec_ops cs421x_patch_ops = { .build_controls = cs421x_build_controls, .build_pcms = cs_build_pcms, .init = cs421x_init,