lkml.org 
[lkml]   [2015]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[RFC PATCH] ASOC: sunxi: sun4i_snd_txctrl_on() can be static

    Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
    ---
    sun4i-spdif.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/sound/soc/sunxi/sun4i-spdif.c b/sound/soc/sunxi/sun4i-spdif.c
    index 5fff6f6..cf0ed80 100644
    --- a/sound/soc/sunxi/sun4i-spdif.c
    +++ b/sound/soc/sunxi/sun4i-spdif.c
    @@ -204,7 +204,7 @@ static void sun4i_spdif_configure(struct sun4i_spdif_dev *host)

    }

    -void sun4i_snd_txctrl_on(struct snd_pcm_substream *substream,
    +static void sun4i_snd_txctrl_on(struct snd_pcm_substream *substream,
    struct sun4i_spdif_dev *host)
    {
    if (substream->runtime->channels == 1)
    @@ -228,7 +228,7 @@ void sun4i_snd_txctrl_on(struct snd_pcm_substream *substream,
    SUN4I_SPDIF_CTL_GEN);
    }

    -void sun4i_snd_txctrl_off(struct snd_pcm_substream *substream,
    +static void sun4i_snd_txctrl_off(struct snd_pcm_substream *substream,
    struct sun4i_spdif_dev *host)
    {
    /* SPDIF TX DISABLE */

    \
     
     \ /
      Last update: 2015-09-30 21:21    [W:5.861 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site