提交 e9300066 编写于 作者: A Andres Salomon 提交者: Samuel Ortiz

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: NAndres Salomon <dilinger@queued.net>
Acked-by: NAnton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 944dc035
......@@ -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;
......
......@@ -39,7 +39,7 @@ struct jz_battery {
int irq;
int charge_irq;
struct mfd_cell *cell;
const struct mfd_cell *cell;
int status;
long voltage;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册