Thread (50 messages) 50 messages, 5 authors, 2011-02-22

Re: [PATCH OF 13/14] rtc/cmos: add OF bindings

From: Sebastian Andrzej Siewior <hidden>
Date: 2011-01-24 04:38:47
Also in: lkml

* Sebastian Andrzej Siewior | 2011-01-24 09:59:01 [+0530]:
quoted hunk ↗ jump to hunk
diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c
index c7ff8df..2709e00 100644
--- a/drivers/rtc/rtc-cmos.c
+++ b/drivers/rtc/rtc-cmos.c
@@ -1123,6 +1125,46 @@ static struct pnp_driver cmos_pnp_driver = {
#endif	/* CONFIG_PNP */

+#ifdef CONFIG_OF
+static const struct of_device_id of_cmos_match[] = {
+	{
+		.compatible = "motorola,mc146818",
+	},
+	{ },
+};
Andreas, this is the compatible string I'm using. Could you please tell
me what is OLPC using? So maybe we could stick to the same compatible
string.

Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help