aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2011-03-01 16:35:48 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-23 05:42:02 -0400
commite9300066bbd21c4fba3c8c5475c6a21d9c97694e (patch)
tree9c3b402a3ed8ddfcca0a2f5c99305221fe620ad5 /drivers/power
parent944dc03551f6e812c00e586edba84b28c52ffe8c (diff)
jz4740: silence warnings related to mfd_get_cell changes
mfd_get_cell returns a const, so change the jz4740 clients to store a const mfd cell. This silences type mismatch warnings. Signed-off-by: Andres Salomon <dilinger@queued.net> Acked-by: Anton Vorontsov <cbouatmailru@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/jz4740-battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/jz4740-battery.c b/drivers/power/jz4740-battery.c
index 0938650a466c..763f894ed188 100644
--- a/drivers/power/jz4740-battery.c
+++ b/drivers/power/jz4740-battery.c
@@ -39,7 +39,7 @@ struct jz_battery {
39 int irq; 39 int irq;
40 int charge_irq; 40 int charge_irq;
41 41
42 struct mfd_cell *cell; 42 const struct mfd_cell *cell;
43 43
44 int status; 44 int status;
45 long voltage; 45 long voltage;