ARM: at91/boards: use -EINVAL for invalid gpio

this will allow to use gpio_is_valid

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2011-11-25 01:51:06 +08:00 committed by Arnd Bergmann
parent 1a2d9156b5
commit 63b4c29678
38 changed files with 192 additions and 65 deletions

View file

@ -10,7 +10,7 @@
struct macb_platform_data {
u32 phy_mask;
u8 phy_irq_pin; /* PHY IRQ */
int phy_irq_pin; /* PHY IRQ */
u8 is_rmii; /* using RMII interface? */
};