]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sh: extend INTC with struct intc_hw_desc
authorMagnus Damm <damm@opensource.se>
Tue, 9 Feb 2010 04:24:46 +0000 (04:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 9 Feb 2010 09:23:57 +0000 (18:23 +0900)
commit577cd7584cf5199f1ea22cca0ad1fa129a98effa
tree35a88578e4dc1da2df4bb8b14e8ef6f010819223
parent6339204ecc2aa2067a99595522de0403f0854bb8
sh: extend INTC with struct intc_hw_desc

This patch updates the INTC code by moving all vectors,
groups and registers from struct intc_desc to struct
intc_hw_desc.

The idea is that INTC tables should go from using the
macro(s) DECLARE_INTC_DESC..() only to using struct
intc_desc with name and hw initialized using the macro
INTC_HW_DESC(). This move makes it easy to initialize
an extended struct intc_desc in the future.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc.c
include/linux/sh_intc.h