| Date | Mon, 24 Jan 2011 10:08:12 +0530 | From | Sebastian Andrzej Siewior <> | Subject | Re: [PATCH OF 13/14] rtc/cmos: add OF bindings |
| |
* Sebastian Andrzej Siewior | 2011-01-24 09:59:01 [+0530]:
>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
|