diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-04-06 00:20:24 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-05-26 19:44:57 +0200 |
commit | 1f235a3785dbcfb324ff228048b859a3bd1e1a59 (patch) | |
tree | cc416ed40e95806f9bb534b423977cab65234c45 /include/linux/mfd/abx500.h | |
parent | eb8956074e7652e802be5f078080c704c2c87104 (diff) | |
download | blackbird-op-linux-1f235a3785dbcfb324ff228048b859a3bd1e1a59.tar.gz blackbird-op-linux-1f235a3785dbcfb324ff228048b859a3bd1e1a59.zip |
mfd: Use mfd cell platform_data for ab3550 cells platform bits
With the addition of a platform device mfd_cell pointer, MFD drivers
can go back to passing platform data back to their sub drivers.
This allows for an mfd_cell->mfd_data removal and thus keep the sub drivers
MFD agnostic. This is mostly needed for non MFD aware sub drivers.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/abx500.h')
-rw-r--r-- | include/linux/mfd/abx500.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500.h b/include/linux/mfd/abx500.h index 7d9b6ae1c203..67bd6f7ecf32 100644 --- a/include/linux/mfd/abx500.h +++ b/include/linux/mfd/abx500.h @@ -186,6 +186,7 @@ struct abx500_init_settings { struct ab3550_platform_data { struct {unsigned int base; unsigned int count; } irq; void *dev_data[AB3550_NUM_DEVICES]; + size_t dev_data_sz[AB3550_NUM_DEVICES]; struct abx500_init_settings *init_settings; unsigned int init_settings_sz; }; |