OSDN Git Service

sh: fix rtc_resources setup for sh770x
authorRafael Ignacio Zurita <rizurita@yahoo.com>
Tue, 19 Feb 2008 01:32:58 +0000 (22:32 -0300)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 26 Feb 2008 05:08:29 +0000 (14:08 +0900)
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>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh3/setup-sh770x.c

index 969804b..9066ed7 100644 (file)
@@ -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,
        },
 };