summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/sh03
diff options
context:
space:
mode:
authorPaul Mundt2007-08-23 08:11:44 +0200
committerPaul Mundt2007-09-21 04:57:51 +0200
commita1fd306b887f06d648f45a2c722e9036dced9590 (patch)
tree79fa5ca3bd5ac10a087902c43cea6bafb3ef02ec /arch/sh/boards/sh03
parentsh: defconfigs for R2D-PLUS and for R2D-1 (diff)
downloadkernel-qcow2-linux-a1fd306b887f06d648f45a2c722e9036dced9590.tar.gz
kernel-qcow2-linux-a1fd306b887f06d648f45a2c722e9036dced9590.tar.xz
kernel-qcow2-linux-a1fd306b887f06d648f45a2c722e9036dced9590.zip
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/sh03')
-rw-r--r--arch/sh/boards/sh03/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/sh03/setup.c b/arch/sh/boards/sh03/setup.c
index df96312efd45..934ac4f1c48f 100644
--- a/arch/sh/boards/sh03/setup.c
+++ b/arch/sh/boards/sh03/setup.c
@@ -44,7 +44,7 @@ static void __init sh03_setup(char **cmdline_p)
static struct resource heartbeat_resources[] = {
[0] = {
.start = 0xa0800000,
- .end = 0xa0800000 + 8 - 1,
+ .end = 0xa0800000,
.flags = IORESOURCE_MEM,
},
};