]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sh: intc: Fix up initializers for gcc 4.5.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 8 Nov 2010 08:02:26 +0000 (17:02 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 9 Nov 2010 07:38:20 +0000 (16:38 +0900)
commit99870bd784ff9eb2405eab060125c0ded74968cd
treee0c24923ae2453440de4b5d881451405aa473541
parenta7bcf21e60c73cb7f7c13fad928967d7e47c3cac
sh: intc: Fix up initializers for gcc 4.5.

The _INTC_ARRAY() initializer presently does a NULL test which blows up
as a non-constant initializer under gcc 4.5. This switches over to a type
test to account for NULL initializers explicitly.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/linux/sh_intc.h