diff options
author | Andres Salomon <dilinger@queued.net> | 2011-03-01 22:35:48 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 10:42:02 +0100 |
commit | e9300066bbd21c4fba3c8c5475c6a21d9c97694e (patch) | |
tree | 9c3b402a3ed8ddfcca0a2f5c99305221fe620ad5 /drivers/hwmon/jz4740-hwmon.c | |
parent | tmio: Silence warnings introduced by mfd changes (diff) | |
download | linux-e9300066bbd21c4fba3c8c5475c6a21d9c97694e.tar.xz linux-e9300066bbd21c4fba3c8c5475c6a21d9c97694e.zip |
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/hwmon/jz4740-hwmon.c')
-rw-r--r-- | drivers/hwmon/jz4740-hwmon.c | 2 |
1 files changed, 1 insertions, 1 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 { int irq; - struct mfd_cell *cell; + const struct mfd_cell *cell; struct device *hwmon; struct completion read_completion; |