lkml.org 
[lkml]   [2011]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 1/4] ASoC: Staticise bf5xx_pcm_ac97_new()
    From
    Date
    It is not used outside this driver so no need to make the symbol global.

    Signed-off-by: Axel Lin <axel.lin@gmail.com>
    ---
    sound/soc/blackfin/bf5xx-ac97-pcm.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/sound/soc/blackfin/bf5xx-ac97-pcm.c b/sound/soc/blackfin/bf5xx-ac97-pcm.c
    index 9e59f68..56815c1 100644
    --- a/sound/soc/blackfin/bf5xx-ac97-pcm.c
    +++ b/sound/soc/blackfin/bf5xx-ac97-pcm.c
    @@ -418,7 +418,7 @@ static void bf5xx_pcm_free_dma_buffers(struct snd_pcm *pcm)

    static u64 bf5xx_pcm_dmamask = DMA_BIT_MASK(32);

    -int bf5xx_pcm_ac97_new(struct snd_soc_pcm_runtime *rtd)
    +static int bf5xx_pcm_ac97_new(struct snd_soc_pcm_runtime *rtd)
    {
    struct snd_card *card = rtd->card->snd_card;
    struct snd_soc_dai *dai = rtd->cpu_dai;
    --
    1.7.4.1




    \
     
     \ /
      Last update: 2011-09-21 08:43    [W:0.019 / U:32.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site