ARM: iop13xx: fix iq81340sc_atux_map_irq prototype
authorArnd Bergmann <arnd@arndb.de>
Mon, 30 Apr 2012 14:58:45 +0000 (14:58 +0000)
committerArnd Bergmann <arnd@arndb.de>
Sun, 7 Oct 2012 08:33:08 +0000 (10:33 +0200)
commit58cbdbe0248d0bf3eed47a9ac69d330a140726a9
tree78675f361b85b248103ac1ad00e12865f87227c4
parentb04e246a897bb14f2508015aa708b1f7a484039a
ARM: iop13xx: fix iq81340sc_atux_map_irq prototype

The pci map_irq callbacks get a 'const' pci_dev argument, so change the
iop13xx version to use the same prototype as everything else.

Without this patch, building iop13xx_defconfig results in:

arch/arm/mach-iop13xx/iq81340sc.c:63:2: warning: initialization from incompatible pointer type [enabled by default]
arch/arm/mach-iop13xx/iq81340sc.c:63:2: warning: (near initialization for 'iq81340sc_pci.map_irq') [enabled by default]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Lennert Buytenhek <kernel@wantstofly.org>
Cc: Dan Williams <djbw@fb.com>
arch/arm/mach-iop13xx/iq81340sc.c