diff options
Diffstat (limited to 'drivers/net/irda')
-rw-r--r-- | drivers/net/irda/pxaficp_ir.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/irda/pxaficp_ir.c b/drivers/net/irda/pxaficp_ir.c index fb196fd91855..55ff0fbe525a 100644 --- a/drivers/net/irda/pxaficp_ir.c +++ b/drivers/net/irda/pxaficp_ir.c | |||
@@ -134,7 +134,7 @@ static int pxa_irda_set_speed(struct pxa_irda *si, int speed) | |||
134 | DCSR(si->rxdma) &= ~DCSR_RUN; | 134 | DCSR(si->rxdma) &= ~DCSR_RUN; |
135 | /* disable FICP */ | 135 | /* disable FICP */ |
136 | ICCR0 = 0; | 136 | ICCR0 = 0; |
137 | pxa_set_cken(CKEN13_FICP, 0); | 137 | pxa_set_cken(CKEN_FICP, 0); |
138 | 138 | ||
139 | /* set board transceiver to SIR mode */ | 139 | /* set board transceiver to SIR mode */ |
140 | si->pdata->transceiver_mode(si->dev, IR_SIRMODE); | 140 | si->pdata->transceiver_mode(si->dev, IR_SIRMODE); |
@@ -144,7 +144,7 @@ static int pxa_irda_set_speed(struct pxa_irda *si, int speed) | |||
144 | pxa_gpio_mode(GPIO47_STTXD_MD); | 144 | pxa_gpio_mode(GPIO47_STTXD_MD); |
145 | 145 | ||
146 | /* enable the STUART clock */ | 146 | /* enable the STUART clock */ |
147 | pxa_set_cken(CKEN5_STUART, 1); | 147 | pxa_set_cken(CKEN_STUART, 1); |
148 | } | 148 | } |
149 | 149 | ||
150 | /* disable STUART first */ | 150 | /* disable STUART first */ |
@@ -169,7 +169,7 @@ static int pxa_irda_set_speed(struct pxa_irda *si, int speed) | |||
169 | /* disable STUART */ | 169 | /* disable STUART */ |
170 | STIER = 0; | 170 | STIER = 0; |
171 | STISR = 0; | 171 | STISR = 0; |
172 | pxa_set_cken(CKEN5_STUART, 0); | 172 | pxa_set_cken(CKEN_STUART, 0); |
173 | 173 | ||
174 | /* disable FICP first */ | 174 | /* disable FICP first */ |
175 | ICCR0 = 0; | 175 | ICCR0 = 0; |
@@ -182,7 +182,7 @@ static int pxa_irda_set_speed(struct pxa_irda *si, int speed) | |||
182 | pxa_gpio_mode(GPIO47_ICPTXD_MD); | 182 | pxa_gpio_mode(GPIO47_ICPTXD_MD); |
183 | 183 | ||
184 | /* enable the FICP clock */ | 184 | /* enable the FICP clock */ |
185 | pxa_set_cken(CKEN13_FICP, 1); | 185 | pxa_set_cken(CKEN_FICP, 1); |
186 | 186 | ||
187 | si->speed = speed; | 187 | si->speed = speed; |
188 | pxa_irda_fir_dma_rx_start(si); | 188 | pxa_irda_fir_dma_rx_start(si); |
@@ -593,7 +593,7 @@ static void pxa_irda_shutdown(struct pxa_irda *si) | |||
593 | /* disable STUART SIR mode */ | 593 | /* disable STUART SIR mode */ |
594 | STISR = 0; | 594 | STISR = 0; |
595 | /* disable the STUART clock */ | 595 | /* disable the STUART clock */ |
596 | pxa_set_cken(CKEN5_STUART, 0); | 596 | pxa_set_cken(CKEN_STUART, 0); |
597 | 597 | ||
598 | /* disable DMA */ | 598 | /* disable DMA */ |
599 | DCSR(si->txdma) &= ~DCSR_RUN; | 599 | DCSR(si->txdma) &= ~DCSR_RUN; |
@@ -601,7 +601,7 @@ static void pxa_irda_shutdown(struct pxa_irda *si) | |||
601 | /* disable FICP */ | 601 | /* disable FICP */ |
602 | ICCR0 = 0; | 602 | ICCR0 = 0; |
603 | /* disable the FICP clock */ | 603 | /* disable the FICP clock */ |
604 | pxa_set_cken(CKEN13_FICP, 0); | 604 | pxa_set_cken(CKEN_FICP, 0); |
605 | 605 | ||
606 | DRCMR17 = 0; | 606 | DRCMR17 = 0; |
607 | DRCMR18 = 0; | 607 | DRCMR18 = 0; |