adm5120: avoid warning caused by wrong AMBA irq values
authorGabor Juhos <juhosg@openwrt.org>
Fri, 22 Feb 2013 16:01:17 +0000 (16:01 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 22 Feb 2013 16:01:17 +0000 (16:01 +0000)
commit1cc10a31d6db4cb465f59eacb8706c3071bcf741
treece8f225e21f5bdb75730f1801ba975455abc36dc
parent2d863fffdb246997633078cc436fd4b6faff100f
adm5120: avoid warning caused by wrong AMBA irq values

The amba core throws a warning if -1 is used as an
irq value since upstream commit:

  2eac58d5026e4ec8b17ff8b62877fea9e1d2f1b3
  ARM: amba: make use of -1 IRQs warn

  Make the core warn about the use of -1 (NO_IRQ)

Cange the value of the unused IRQs to zero for the
UART devices to get rid of the warning.

Based on #12729.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35747
target/linux/adm5120/files/arch/mips/adm5120/common/platform.c