Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9300066 authored by Andres Salomon's avatar Andres Salomon Committed by Samuel Ortiz
Browse files

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: default avatarAndres Salomon <dilinger@queued.net>
Acked-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 944dc035
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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;