mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
mfd: Add platform data pointer back
Now that we have a way to pass MFD cells down to the sub drivers, we can gradually get rid of mfd_data by putting the platform pointer back in place. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
4db70f73e5
commit
eb8956074e
2 changed files with 11 additions and 0 deletions
|
|
@ -36,6 +36,10 @@ struct mfd_cell {
|
|||
/* mfd_data can be used to pass data to client drivers */
|
||||
void *mfd_data;
|
||||
|
||||
/* platform data passed to the sub devices drivers */
|
||||
void *platform_data;
|
||||
size_t pdata_size;
|
||||
|
||||
/*
|
||||
* These resources can be specified relative to the parent device.
|
||||
* For accessing hardware you should use resources from the platform dev
|
||||
|
|
|
|||
Loading…
Reference in a new issue