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

From: Sebastian Andrzej Siewior
Date: Sun Jan 23 2011 - 23:38:50 EST


* 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/