aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/cpm_uart
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/cpm_uart')
-rw-r--r--drivers/serial/cpm_uart/cpm_uart_cpm2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/cpm_uart/cpm_uart_cpm2.c b/drivers/serial/cpm_uart/cpm_uart_cpm2.c
index def01582de5c..d9af06a791ba 100644
--- a/drivers/serial/cpm_uart/cpm_uart_cpm2.c
+++ b/drivers/serial/cpm_uart/cpm_uart_cpm2.c
@@ -165,9 +165,9 @@ void scc2_lineif(struct uart_cpm_port *pinfo)
165 * really has to get out of the driver so boards can 165 * really has to get out of the driver so boards can
166 * be supported in a sane fashion. 166 * be supported in a sane fashion.
167 */ 167 */
168 volatile cpmux_t *cpmux = cpm2_map(im_cpmux);
168#ifndef CONFIG_STX_GP3 169#ifndef CONFIG_STX_GP3
169 volatile iop_cpm2_t *io = cpm2_map(im_ioport); 170 volatile iop_cpm2_t *io = cpm2_map(im_ioport);
170 volatile cpmux_t *cpmux = cpm2_map(im_cpmux);
171 171
172 io->iop_pparb |= 0x008b0000; 172 io->iop_pparb |= 0x008b0000;
173 io->iop_pdirb |= 0x00880000; 173 io->iop_pdirb |= 0x00880000;