diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-08-23 02:11:44 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-09-20 22:57:51 -0400 |
commit | a1fd306b887f06d648f45a2c722e9036dced9590 (patch) | |
tree | 79fa5ca3bd5ac10a087902c43cea6bafb3ef02ec /arch/sh/boards/renesas/rts7751r2d/setup.c | |
parent | b8996e49e8d777abd64833095a1cd291b749df18 (diff) |
sh: Fix up heartbeat build and resource size.
We were abusing the resource size for the number of bits, this
has been reworked using proper platform data, so this can be
tidied up now. Boards in general only have a 1-byte wide resource,
which the ioremap_nocache() case already handles.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/renesas/rts7751r2d/setup.c')
-rw-r--r-- | arch/sh/boards/renesas/rts7751r2d/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/renesas/rts7751r2d/setup.c b/arch/sh/boards/renesas/rts7751r2d/setup.c index bea9848e5ff8..e62107d46fd9 100644 --- a/arch/sh/boards/renesas/rts7751r2d/setup.c +++ b/arch/sh/boards/renesas/rts7751r2d/setup.c | |||
@@ -76,7 +76,7 @@ static struct platform_device cf_ide_device = { | |||
76 | static struct resource heartbeat_resources[] = { | 76 | static struct resource heartbeat_resources[] = { |
77 | [0] = { | 77 | [0] = { |
78 | .start = PA_OUTPORT, | 78 | .start = PA_OUTPORT, |
79 | .end = PA_OUTPORT + 8 - 1, | 79 | .end = PA_OUTPORT, |
80 | .flags = IORESOURCE_MEM, | 80 | .flags = IORESOURCE_MEM, |
81 | }, | 81 | }, |
82 | }; | 82 | }; |