aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/hx4700.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/hx4700.c')
-rw-r--r--arch/arm/mach-pxa/hx4700.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-pxa/hx4700.c b/arch/arm/mach-pxa/hx4700.c
index f2058721254b..abff9e132749 100644
--- a/arch/arm/mach-pxa/hx4700.c
+++ b/arch/arm/mach-pxa/hx4700.c
@@ -175,14 +175,9 @@ static int hx4700_gpio_request(struct gpio_ress *gpios, int size)
175 * IRDA 175 * IRDA
176 */ 176 */
177 177
178static void irda_transceiver_mode(struct device *dev, int mode)
179{
180 gpio_set_value(GPIO105_HX4700_nIR_ON, mode & IR_OFF);
181}
182
183static struct pxaficp_platform_data ficp_info = { 178static struct pxaficp_platform_data ficp_info = {
184 .transceiver_cap = IR_SIRMODE | IR_OFF, 179 .gpio_pwdown = GPIO105_HX4700_nIR_ON,
185 .transceiver_mode = irda_transceiver_mode, 180 .transceiver_cap = IR_SIRMODE | IR_OFF,
186}; 181};
187 182
188/* 183/*