diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-05-07 07:01:32 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-05-16 18:42:32 -0400 |
commit | a3ef0deb0fa45781ab653d7c9271e02c152076f1 (patch) | |
tree | 076f559bd585e39d18a5adf78892894fc9129bd3 /drivers | |
parent | eb696c3181dd5b2266794776519120abdfe127d9 (diff) |
mfd: db8500-prcmu: Supply the pdata_size attribute for db8500-thermal
The MFD subsystem requires drivers to state the size of any platform
data passed, or it will fail to assign it to the device. This will
culminate in a NULL platform_data attribute and normally a failure to
probe() or a kernel Oops.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/db8500-prcmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 319b8abe742b..5389368e0e5f 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c | |||
@@ -3095,6 +3095,7 @@ static struct mfd_cell db8500_prcmu_devs[] = { | |||
3095 | .num_resources = ARRAY_SIZE(db8500_thsens_resources), | 3095 | .num_resources = ARRAY_SIZE(db8500_thsens_resources), |
3096 | .resources = db8500_thsens_resources, | 3096 | .resources = db8500_thsens_resources, |
3097 | .platform_data = &db8500_thsens_data, | 3097 | .platform_data = &db8500_thsens_data, |
3098 | .pdata_size = sizeof(db8500_thsens_data), | ||
3098 | }, | 3099 | }, |
3099 | }; | 3100 | }; |
3100 | 3101 | ||