jz4740: silence warnings related to mfd_get_cell changes
authorAndres Salomon <dilinger@queued.net>
Tue, 1 Mar 2011 21:35:48 +0000 (13:35 -0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 23 Mar 2011 09:42:02 +0000 (10:42 +0100)
commite9300066bbd21c4fba3c8c5475c6a21d9c97694e
tree9c3b402a3ed8ddfcca0a2f5c99305221fe620ad5
parent944dc03551f6e812c00e586edba84b28c52ffe8c
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>
drivers/hwmon/jz4740-hwmon.c
drivers/power/jz4740-battery.c