Skip to contentSkip to conversation

handling rtc platform data

RFC PATCH Superseded [email protected] 1 participant 1 message Aug 12, 2009

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

RFC PATCH 2/3 handling rtc platform data

twl4030-core.c passes rtc platform data from board file to twl4030 rtc driver

---
 drivers/mfd/twl4030-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/twl4030-core.c +1 -1
index 96af2f5..a20ffd0 100644
@@ -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);
Signature · 1 line
1.6.0.4