twl4030-core.c passes rtc platform data from board file to twl4030 rtc driver Signed-off-by: Charulatha V <charu@xxxxxx> --- drivers/mfd/twl4030-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/twl4030-core.c b/drivers/mfd/twl4030-core.c index 96af2f5..a20ffd0 100644 --- a/drivers/mfd/twl4030-core.c +++ b/drivers/mfd/twl4030-core.c @@ -528,7 +528,7 @@ add_children(struct twl4030_platform_data *pdata, unsigned long features) * HW security concerns, and "least privilege". */ child = add_child(3, "twl4030_rtc", - NULL, 0, + pdata->rtc, sizeof(*pdata->rtc), true, pdata->irq_base + 8 + 3, 0); if (IS_ERR(child)) return PTR_ERR(child); -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html