Re: [PATCH] cris: arch-v32/drivers/sync_serial.c: fix error macro position

Jesper Nilsson
2013-01-15T09:34:25Z

On Mon, Jan 14, 2013 at 10:46:28PM +0100, Cong Ding wrote:
> the macro CONFIG_ETRAXFS is used in wrong position - all the port[1] related
> stuff should be used only when CONFIG_ETRAXFS is enabled.

Problem should not be possible to see unless you enable
CONFIG_ETRAX_SYNCHRONOUS_SERIAL_PORT1 also, which has
depends on ETRAX_SYNCHRONOUS_SERIAL && ETRAXFS
in the Kconfig...

> Signed-off-by: Cong Ding <dinggnu@gmail.com>

...But anyways, the hardware doesn't have the second synchronous serial port
for ARTPEC-3, so for clarity I'll take this in the CRIS tree. My thanks.

/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com