lkml.org 
[lkml]   [2011]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/7] ASoC: AD193X: Make enum items const char * const
    Date
    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    ---
    sound/soc/codecs/ad193x.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/sound/soc/codecs/ad193x.c b/sound/soc/codecs/ad193x.c
    index 7da7e29..665af5c 100644
    --- a/sound/soc/codecs/ad193x.c
    +++ b/sound/soc/codecs/ad193x.c
    @@ -30,7 +30,7 @@ struct ad193x_priv {
    /*
    * AD193X volume/mute/de-emphasis etc. controls
    */
    -static const char *ad193x_deemp[] = {"None", "48kHz", "44.1kHz", "32kHz"};
    +static const char * const ad193x_deemp[] = {"None", "48kHz", "44.1kHz", "32kHz"};

    static const struct soc_enum ad193x_deemp_enum =
    SOC_ENUM_SINGLE(AD193X_DAC_CTRL2, 1, 4, ad193x_deemp);
    --
    1.7.7.3



    \
     
     \ /
      Last update: 2011-11-28 17:31    [W:0.027 / U:2.480 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site