Skip to content

Commit

Permalink
[POWERPC] Fix compile error if CONFIG_STX_GP3 is defined
Browse files Browse the repository at this point in the history
cpmux is need in all cases, having wrapped by the ifndef CONFIG_STX_GP3
was causing a compile error.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Kumar Gala committed Jan 24, 2008
1 parent de3c8d4 commit 1dd4561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/cpm_uart/cpm_uart_cpm2.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ void scc2_lineif(struct uart_cpm_port *pinfo)
* really has to get out of the driver so boards can
* be supported in a sane fashion.
*/
volatile cpmux_t *cpmux = cpm2_map(im_cpmux);
#ifndef CONFIG_STX_GP3
volatile iop_cpm2_t *io = cpm2_map(im_ioport);
volatile cpmux_t *cpmux = cpm2_map(im_cpmux);

io->iop_pparb |= 0x008b0000;
io->iop_pdirb |= 0x00880000;
Expand Down

0 comments on commit 1dd4561

Please sign in to comment.