Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1dd4561e authored by Kumar Gala's avatar Kumar Gala
Browse files

[POWERPC] Fix compile error if CONFIG_STX_GP3 is defined



cpmux is need in all cases, having wrapped by the ifndef CONFIG_STX_GP3
was causing a compile error.

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent de3c8d41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;