From: Sebastian Andrzej Siewior Subject: Re: [PATCH OF 13/14] rtc/cmos: add OF bindings Date: Mon, 24 Jan 2011 10:08:12 +0530 Message-ID: <20110124043812.GB20274@www.tglx.de> References: <1295843342-1122-1-git-send-email-bigeasy@linutronix.de> <1295843342-1122-14-git-send-email-bigeasy@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1295843342-1122-14-git-send-email-bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: dilinger-pFFUokh25LWsTnJN9+BGXg@public.gmane.org Cc: Alessandro Zummo , rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, sodaville-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org List-Id: devicetree@vger.kernel.org * 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