Browse Source

sh: fix rtc_resources setup for sh770x

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>
Rafael Ignacio Zurita 17 years ago
parent
commit
b7fd095602
1 changed files with 3 additions and 3 deletions
  1. 3 3
      arch/sh/kernel/cpu/sh3/setup-sh770x.c

+ 3 - 3
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,
 	},
 };