diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-08-18 07:00:20 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-18 21:16:29 +0900 |
commit | e174d13010a6bd52045466bc35ca5a86e3f3ba9b (patch) | |
tree | 1ad84c9b48bae21a3a150da7caae5f938abae461 /arch/sh/include | |
parent | b2ea8b421515ddd692c88fc5afb0e7f93e96e6cb (diff) |
sh: Prevent heartbeat from scribbling over non-LED bits.
While most platforms implement LED banks in sets of 8/16/32, some use
different configurations. This adds a LED mask to the heartbeat platform
data to allow platforms to constrain the bitmap, which is otherwise
derived from the register size.
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/heartbeat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/heartbeat.h b/arch/sh/include/asm/heartbeat.h index 724a43ed245..caaafe5a3ef 100644 --- a/arch/sh/include/asm/heartbeat.h +++ b/arch/sh/include/asm/heartbeat.h @@ -11,6 +11,7 @@ struct heartbeat_data { unsigned int nr_bits; struct timer_list timer; unsigned int regsize; + unsigned int mask; unsigned long flags; }; |