diff mbox

ARM: pxa: pxa27x.c: add dummy SA1100 rtc clock

Message ID 1353712328-15830-1-git-send-email-andrea.adami@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andrea Adami Nov. 23, 2012, 11:12 p.m. UTC
* 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(-)

Comments

Robert Jarzmik Nov. 25, 2012, 12:21 p.m. UTC | #1
Andrea Adami <andrea.adami@gmail.com> writes:
> * 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.
Weird to have stars at the beginning of each line in the patch description.
But anyway :
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Haojian Zhuang Jan. 23, 2013, 9:05 a.m. UTC | #2
On Sun, Nov 25, 2012 at 8:21 PM, Robert Jarzmik <robert.jarzmik@free.fr> wrote:
> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>

Applied.

Thanks
Haojian
diff mbox

Patch

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