ARM: at91/snapper9260: move gpio_to_irq out of structure initialization
authorNicolas Ferre <nicolas.ferre@atmel.com>
Sat, 11 Feb 2012 19:48:52 +0000 (20:48 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 1 Mar 2012 12:29:01 +0000 (13:29 +0100)
commitfe5e07967187f3af538c237921993ec5889b3f2a
tree8bb3005449ed41483c655cd41ae464f7984009ca
parente261501d05bd2df244d31e0866b1e81776766ecf
ARM: at91/snapper9260: move gpio_to_irq out of structure initialization

gpio_to_irq() implementation will be moved from a macro to a
plain function: we cannot use it in a structure initialization
anymore.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Reviewed-by: Ryan Mallon <rmallon@gmail.com>
arch/arm/mach-at91/board-snapper9260.c