From 81091f58f0c58ecd26c5b05de2ae20ca6cdb521c Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 2 Aug 2008 23:48:30 +0200 Subject: drivers/serial: Move conditional compilation to Makefile for CONFIG_* macros Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/serial/serial_xuartlite.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'drivers/serial/serial_xuartlite.c') diff --git a/drivers/serial/serial_xuartlite.c b/drivers/serial/serial_xuartlite.c index 74546ce..00d0eaa 100644 --- a/drivers/serial/serial_xuartlite.c +++ b/drivers/serial/serial_xuartlite.c @@ -27,8 +27,6 @@ #include #include -#ifdef CONFIG_XILINX_UARTLITE - #define RX_FIFO_OFFSET 0 /* receive FIFO, read only */ #define TX_FIFO_OFFSET 4 /* transmit FIFO, write only */ #define STATUS_REG_OFFSET 8 /* status register, read only */ @@ -77,5 +75,3 @@ int serial_tstc(void) { return (in_be32((u32 *) UARTLITE_STATUS) & SR_RX_FIFO_VALID_DATA); } - -#endif /* CONFIG_MICROBLZE */ -- cgit v1.1