17 Feb
2011
17 Feb
'11
6:38 p.m.
At Thu, 17 Feb 2011 00:16:12 +0100, Andreas Mohr wrote:
--- linux-2.6.orig/sound/pci/ac97/ac97_patch.c 2011-02-16 23:18:54.000000000 +0100 +++ linux-2.6/sound/pci/ac97/ac97_patch.c 2011-02-16 23:19:03.000000000 +0100 @@ -222,6 +222,47 @@ return is_surround_on(ac97); }
+/* find a mixer control element with the given name */ +static struct snd_kcontrol *snd_ac97_find_mixer_ctl(struct snd_ac97 *ac97,
const char *name)
We don't have to copy the whole functions. Can't it be simply a function declaration? It's not necessary to grow the patch size...
thanks,
Takashi