mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Acked-by: Anton Vorontsov <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
944dc03551
commit
e9300066bb
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue