Skip to content

Commit

Permalink
sh: fix rtc_resources setup for sh770x
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rafael Ignacio Zurita authored and Paul Mundt committed Feb 26, 2008
1 parent 1de83e9 commit b7fd095
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/sh/kernel/cpu/sh3/setup-sh770x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};
Expand Down

0 comments on commit b7fd095

Please sign in to comment.