Re: [-mm patch] sound/pci/ice1712/delta.c: make 2 functions static

From: Takashi Iwai
Date: Tue Mar 14 2006 - 06:14:10 EST


At Mon, 13 Mar 2006 22:14:44 +0100,
Adrian Bunk wrote:
>
> On Sun, Mar 12, 2006 at 03:10:36AM -0800, Andrew Morton wrote:
> >...
> > Changes since 2.6.16-rc5-mm3:
> >...
> > git-alsa.patch
> >...
> > git trees
> >...
>
>
> This patch makes two needlessly global functions static.
>
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

Applied to ALSA tree. Thanks.


Takashi

>
> ---
>
> sound/pci/ice1712/delta.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- linux-2.6.16-rc6-mm1-full/sound/pci/ice1712/delta.c.old 2006-03-13 21:32:49.000000000 +0100
> +++ linux-2.6.16-rc6-mm1-full/sound/pci/ice1712/delta.c 2006-03-13 21:33:25.000000000 +0100
> @@ -393,7 +393,7 @@
> snd_ice1712_delta_cs8403_spdif_write(ice, tmp);
> }
>
> -int snd_ice1712_delta1010lt_wordclock_status_info(struct snd_kcontrol *kcontrol,
> +static int snd_ice1712_delta1010lt_wordclock_status_info(struct snd_kcontrol *kcontrol,
> struct snd_ctl_elem_info *uinfo)
> {
> uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN;
> @@ -403,7 +403,7 @@
> return 0;
> }
>
> -int snd_ice1712_delta1010lt_wordclock_status_get(struct snd_kcontrol *kcontrol,
> +static int snd_ice1712_delta1010lt_wordclock_status_get(struct snd_kcontrol *kcontrol,
> struct snd_ctl_elem_value *ucontrol)
> {
> char reg = 0x10; // cs8427 receiver error register
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/