]> git.karo-electronics.de Git - linux-beck.git/commitdiff
regulator: ad5398: Constify regulator_desc
authorAxel Lin <axel.lin@gmail.com>
Thu, 5 Apr 2012 03:56:56 +0000 (11:56 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 5 Apr 2012 09:40:57 +0000 (10:40 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ad5398.c

index 26d23adfc66f8f592f18edeb5aa528e762413e8a..1bd3e72b35cba82365d82ec1003ee92670814f6a 100644 (file)
@@ -184,7 +184,7 @@ static struct regulator_ops ad5398_ops = {
        .is_enabled = ad5398_is_enabled,
 };
 
-static struct regulator_desc ad5398_reg = {
+static const struct regulator_desc ad5398_reg = {
        .name = "isink",
        .id = 0,
        .ops = &ad5398_ops,