diff options
Diffstat (limited to 'drivers/net/irda/pxaficp_ir.c')
-rw-r--r-- | drivers/net/irda/pxaficp_ir.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/irda/pxaficp_ir.c b/drivers/net/irda/pxaficp_ir.c index a19c00ad8b24..f76b0b6c277d 100644 --- a/drivers/net/irda/pxaficp_ir.c +++ b/drivers/net/irda/pxaficp_ir.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <asm/dma.h> | 25 | #include <asm/dma.h> |
26 | #include <asm/arch/irda.h> | 26 | #include <asm/arch/irda.h> |
27 | #include <asm/arch/pxa-regs.h> | 27 | #include <asm/arch/pxa-regs.h> |
28 | #include <asm/arch/pxa2xx-gpio.h> | ||
29 | 28 | ||
30 | #define IrSR_RXPL_NEG_IS_ZERO (1<<4) | 29 | #define IrSR_RXPL_NEG_IS_ZERO (1<<4) |
31 | #define IrSR_RXPL_POS_IS_ZERO 0x0 | 30 | #define IrSR_RXPL_POS_IS_ZERO 0x0 |
@@ -148,10 +147,6 @@ static int pxa_irda_set_speed(struct pxa_irda *si, int speed) | |||
148 | /* set board transceiver to SIR mode */ | 147 | /* set board transceiver to SIR mode */ |
149 | si->pdata->transceiver_mode(si->dev, IR_SIRMODE); | 148 | si->pdata->transceiver_mode(si->dev, IR_SIRMODE); |
150 | 149 | ||
151 | /* configure GPIO46/47 */ | ||
152 | pxa_gpio_mode(GPIO46_STRXD_MD); | ||
153 | pxa_gpio_mode(GPIO47_STTXD_MD); | ||
154 | |||
155 | /* enable the STUART clock */ | 150 | /* enable the STUART clock */ |
156 | pxa_irda_enable_sirclk(si); | 151 | pxa_irda_enable_sirclk(si); |
157 | } | 152 | } |
@@ -186,10 +181,6 @@ static int pxa_irda_set_speed(struct pxa_irda *si, int speed) | |||
186 | /* set board transceiver to FIR mode */ | 181 | /* set board transceiver to FIR mode */ |
187 | si->pdata->transceiver_mode(si->dev, IR_FIRMODE); | 182 | si->pdata->transceiver_mode(si->dev, IR_FIRMODE); |
188 | 183 | ||
189 | /* configure GPIO46/47 */ | ||
190 | pxa_gpio_mode(GPIO46_ICPRXD_MD); | ||
191 | pxa_gpio_mode(GPIO47_ICPTXD_MD); | ||
192 | |||
193 | /* enable the FICP clock */ | 184 | /* enable the FICP clock */ |
194 | pxa_irda_enable_firclk(si); | 185 | pxa_irda_enable_firclk(si); |
195 | 186 | ||