All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: pxa: pxa27x.c: add dummy SA1100 rtc clock
@ 2012-11-23 23:12 ` Andrea Adami
  0 siblings, 0 replies; 6+ messages in thread
From: Andrea Adami @ 2012-11-23 23:12 UTC (permalink / raw)
  To: linux-arm-kernel

* Using pxa27x you could now build both RTC_DRV_PXA and RTC_DRV_SA1100.
* Make sure you don't use both together: link /dev/rtc0 or /dev/rtc1
* to /dev/rtc according to your requirement.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 arch/arm/mach-pxa/pxa27x.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
index 8047ee0..5970ebc 100644
--- a/arch/arm/mach-pxa/pxa27x.c
+++ b/arch/arm/mach-pxa/pxa27x.c
@@ -230,6 +230,7 @@ static struct clk_lookup pxa27x_clkregs[] = {
 	INIT_CLKREG(&clk_pxa27x_memc, NULL, "MEMCLK"),
 	INIT_CLKREG(&clk_pxa27x_mem, "pxa2xx-pcmcia", NULL),
 	INIT_CLKREG(&clk_dummy, "pxa-gpio", NULL),
+	INIT_CLKREG(&clk_dummy, "sa1100-rtc", NULL),
 };
 
 #ifdef CONFIG_PM
-- 
1.7.8.6

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-23  9:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-23 23:12 [PATCH] ARM: pxa: pxa27x.c: add dummy SA1100 rtc clock Andrea Adami
2012-11-23 23:12 ` Andrea Adami
2012-11-25 12:21 ` Robert Jarzmik
2012-11-25 12:21   ` Robert Jarzmik
2013-01-23  9:05   ` Haojian Zhuang
2013-01-23  9:05     ` Haojian Zhuang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.