diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-05-19 00:31:41 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-23 01:49:13 +0400 |
commit | cb8d8654570c257d2ec5f7fa089e18b338314317 (patch) | |
tree | 39971c07b8b0111d924606079e07b3701ab2ff30 /include/linux/mfd | |
parent | 730a3d01b1e1e3ba102a5a4d3d5dcfecd55326b6 (diff) | |
download | linux-cb8d8654570c257d2ec5f7fa089e18b338314317.tar.xz |
mfd: Save device node parsed platform data for tps65910 sub devices
Save the allocated memory to store the parsed device node information
to the global device structure so that sub devices can directly use this
pointer.
In this way, the sub devices does not require to re-allocate the
memory for storing the sub-devices specific device node information.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/tps65910.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h index ab04e901e57e..dd8dc0a6c462 100644 --- a/include/linux/mfd/tps65910.h +++ b/include/linux/mfd/tps65910.h @@ -830,6 +830,9 @@ struct tps65910 { struct tps65910_rtc *rtc; struct tps65910_power *power; + /* Device node parsed board data */ + struct tps65910_board *of_plat_data; + /* IRQ Handling */ struct mutex irq_lock; int chip_irq; |