diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2009-07-17 06:50:43 -0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-09-10 06:49:39 -0400 |
commit | c4bd01727380ce666aba987b3d7c0e838cb99bbe (patch) | |
tree | 5ee425da3645c1371b154bc47d1ae7ab3c81041b /arch/arm/mach-pxa/mainstone.c | |
parent | 2a23ec3679d84ac243add761fa3d3872cf6dcb11 (diff) |
[ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.c
and convert PXA-based devices to gpio_pwdown where possible.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/mainstone.c')
-rw-r--r-- | arch/arm/mach-pxa/mainstone.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/mainstone.c b/arch/arm/mach-pxa/mainstone.c index f7dc23078ce3..a4eeae345e64 100644 --- a/arch/arm/mach-pxa/mainstone.c +++ b/arch/arm/mach-pxa/mainstone.c | |||
@@ -479,8 +479,9 @@ static void mainstone_irda_transceiver_mode(struct device *dev, int mode) | |||
479 | } | 479 | } |
480 | 480 | ||
481 | static struct pxaficp_platform_data mainstone_ficp_platform_data = { | 481 | static struct pxaficp_platform_data mainstone_ficp_platform_data = { |
482 | .transceiver_cap = IR_SIRMODE | IR_FIRMODE | IR_OFF, | 482 | .gpio_pwdown = -1, |
483 | .transceiver_mode = mainstone_irda_transceiver_mode, | 483 | .transceiver_cap = IR_SIRMODE | IR_FIRMODE | IR_OFF, |
484 | .transceiver_mode = mainstone_irda_transceiver_mode, | ||
484 | }; | 485 | }; |
485 | 486 | ||
486 | static struct gpio_keys_button gpio_keys_button[] = { | 487 | static struct gpio_keys_button gpio_keys_button[] = { |