summaryrefslogtreecommitdiff
path: root/arch/sh/boards/se/7206
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-09-13 13:01:15 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-09-21 11:57:54 +0900
commit7216ddc6b61040d7bfdf44713ea94f6d845553b2 (patch)
treefcd97cff27bf0139026215fb5eac16f471f002bf /arch/sh/boards/se/7206
parentdfcb76089ada89a5520ad8544440799e75f01227 (diff)
downloadlinux-3.10-7216ddc6b61040d7bfdf44713ea94f6d845553b2.tar.gz
linux-3.10-7216ddc6b61040d7bfdf44713ea94f6d845553b2.tar.bz2
linux-3.10-7216ddc6b61040d7bfdf44713ea94f6d845553b2.zip
sh: se7206: heartbeat needs 32-bit writes.
Most boards use 8 or 16-bit access for the LED bank, se7206 needs 32. There's only 8 individual LEDs however, each with a 'special' value in terms of logical ordering. Go FPGA, go! Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/se/7206')
-rw-r--r--arch/sh/boards/se/7206/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/boards/se/7206/setup.c b/arch/sh/boards/se/7206/setup.c
index 499a3e9dbfc..5b3ee089d91 100644
--- a/arch/sh/boards/se/7206/setup.c
+++ b/arch/sh/boards/se/7206/setup.c
@@ -39,6 +39,7 @@ static unsigned char heartbeat_bit_pos[] = { 8, 9, 10, 11, 12, 13, 14, 15 };
static struct heartbeat_data heartbeat_data = {
.bit_pos = heartbeat_bit_pos,
.nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
+ .regsize = 32,
};
static struct resource heartbeat_resources[] = {