MIPS: Lantiq: Fix build failure
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 16 Jun 2016 20:46:08 +0000 (21:46 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 3 Aug 2016 05:54:49 +0000 (07:54 +0200)
commit891ab0642fe816adac88141e3561493071400367
treee668e4d6432c11d7d86a6a203d0c28fc808a9ec8
parent0d8d83d0447deb526c3125250eb391b5d76a3472
MIPS: Lantiq: Fix build failure

Some configs of mips like xway_defconffig are failing with the error:
arch/mips/lantiq/irq.c:209:2: error: initialization from incompatible
pointer type [-Werror]
  "icu",
  ^
arch/mips/lantiq/irq.c:209:2: error: (near initialization for
'ltq_irq_type.parent_device') [-Werror]
arch/mips/lantiq/irq.c:219:2: error: initialization from incompatible
pointer type [-Werror]
  "eiu",
  ^
arch/mips/lantiq/irq.c:219:2: error: (near initialization for
'ltq_eiu_type.parent_device') [-Werror]

The first member of the "struct irq" is no longer a pointer for the
name.

Fixes: be45beb2df69 ("genirq: Add runtime power management support for IRQ chips")
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Acked-by: John Crispin <john@phrozen.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13684/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lantiq/irq.c