summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorArun Murthy <arun.murthy@stericsson.com>2011-09-15 12:51:22 +0530
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 16:07:36 +0200
commitd8520ef273de1974a763963b90096dd0e8f945d8 (patch)
tree623bc9291263da23caf19d73fa3a6b8ee80fd328 /drivers/mfd
parent3db14f7185c9b4c1b4b59f70dadccb5f0d92ca3a (diff)
mfd: ab5500-core: Fix for setting platform data
Change-Id: Ia8fe567b91b4e18ff737afce22c939e3b5f1cafc Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31011
Diffstat (limited to 'drivers/mfd')
-rwxr-xr-xdrivers/mfd/ab5500-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/ab5500-core.c b/drivers/mfd/ab5500-core.c
index e3dbd930cce..6e1b5396e7a 100755
--- a/drivers/mfd/ab5500-core.c
+++ b/drivers/mfd/ab5500-core.c
@@ -2538,6 +2538,7 @@ static int __init ab5500_probe(struct platform_device *pdev)
/* Set up and register the platform devices. */
for (i = 0; i < AB5500_NUM_DEVICES; i++) {
ab5500_devs[i].platform_data = ab5500_plf_data->dev_data[i];
+ ab5500_devs[i].pdata_size = ab5500_plf_data->dev_data_sz[i];
}
err = mfd_add_devices(&pdev->dev, 0, ab5500_devs,