All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: fix rtc_resources setup for sh770x
@ 2008-02-19  0:57 Rafael Ignacio Zurita
  2008-02-21 12:00 ` Kristoffer Ericson
  2008-02-25 10:06 ` Paul Mundt
  0 siblings, 2 replies; 3+ messages in thread
From: Rafael Ignacio Zurita @ 2008-02-19  0:57 UTC (permalink / raw)
  To: linux-sh


Fix the RTC resources setup for sh770x. Whit these proper
start values RTC driver (drivers/rtc/rtc-sh.c) works.

Signed-off-by: Rafael Ignacio Zurita <rizurita@yahoo.com>
---
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh770x.c b/arch/sh/kernel/cpu/sh3/setup-sh770x.c
index 969804b..9066ed7 100644
--- a/arch/sh/kernel/cpu/sh3/setup-sh770x.c
+++ b/arch/sh/kernel/cpu/sh3/setup-sh770x.c
@@ -123,15 +123,15 @@ static struct resource rtc_resources[] = {
                .flags  = IORESOURCE_IO,
        },
        [1] =   {
-               .start  = 20,
+               .start  = 21,
                .flags  = IORESOURCE_IRQ,
        },
        [2] =   {
-               .start  = 21,
+               .start  = 22,
                .flags  = IORESOURCE_IRQ,
        },
        [3] =   {
-               .start  = 22,
+               .start  = 20,
                .flags  = IORESOURCE_IRQ,
        },
 };


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

end of thread, other threads:[~2008-02-25 10:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-19  0:57 [PATCH] sh: fix rtc_resources setup for sh770x Rafael Ignacio Zurita
2008-02-21 12:00 ` Kristoffer Ericson
2008-02-25 10:06 ` Paul Mundt

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.