aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/hwmon/jz4740-hwmon.c2
-rw-r--r--drivers/power/jz4740-battery.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/jz4740-hwmon.c b/drivers/hwmon/jz4740-hwmon.c
index 40f106d95afe..fea292d43407 100644
--- a/drivers/hwmon/jz4740-hwmon.c
+++ b/drivers/hwmon/jz4740-hwmon.c
@@ -32,7 +32,7 @@ struct jz4740_hwmon {
32 32
33 int irq; 33 int irq;
34 34
35 struct mfd_cell *cell; 35 const struct mfd_cell *cell;
36 struct device *hwmon; 36 struct device *hwmon;
37 37
38 struct completion read_completion; 38 struct completion read_completion;
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;