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

Sebastian Andrzej Siewior bigeasy at linutronix.de
Mon Jan 24 15:38:12 EST 2011


* 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


More information about the devicetree-discuss mailing list