[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DB904C5425BA6F4E8424B3B51A1414D16F25B9528F@NWD2CMBX1.ad.analog.com>
Date: Thu, 5 Apr 2012 00:15:59 -0400
From: "Zhang, Sonic" <Sonic.Zhang@...log.com>
To: Axel Lin <axel.lin@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: Liam Girdwood <lrg@...com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: RE: [PATCH 1/6] regulator: ad5398: Constify regulator_desc
Acked-by: Sonic Zhang <sonic.zhang@...log.com>
-----Original Message-----
From: Axel Lin [mailto:axel.lin@...il.com]
Sent: Thursday, April 05, 2012 11:57 AM
To: linux-kernel@...r.kernel.org
Cc: Zhang, Sonic; Liam Girdwood; Mark Brown
Subject: [PATCH 1/6] regulator: ad5398: Constify regulator_desc
Signed-off-by: Axel Lin <axel.lin@...il.com>
---
drivers/regulator/ad5398.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/regulator/ad5398.c b/drivers/regulator/ad5398.c
index 7d51793..9ba69c4 100644
--- a/drivers/regulator/ad5398.c
+++ b/drivers/regulator/ad5398.c
@@ -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,
--
1.7.5.4
Powered by blists - more mailing lists