[PATCH 07/18] Samsung/serial: there is no need to ifdef these register defines
Juergen Beisert
jbe at pengutronix.de
Fri Jul 13 15:00:59 EDT 2012
Signed-off-by: Juergen Beisert <jbe at pengutronix.de>
---
drivers/serial/serial_s3c.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/serial/serial_s3c.c b/drivers/serial/serial_s3c.c
index a4c1f68..125c06b 100644
--- a/drivers/serial/serial_s3c.c
+++ b/drivers/serial/serial_s3c.c
@@ -42,12 +42,8 @@
#define UTXH 0x20 /* transmitt */
#define URXH 0x24 /* receive */
#define UBRDIV 0x28 /* baudrate generator */
-#ifdef S3C_UART_HAS_UBRDIVSLOT
-# define UBRDIVSLOT 0x2c /* baudrate slot generator */
-#endif
-#ifdef S3C_UART_HAS_UINTM
-# define UINTM 0x38 /* interrupt mask register */
-#endif
+#define UBRDIVSLOT 0x2c /* baudrate slot generator */
+#define UINTM 0x38 /* interrupt mask register */
struct s3c_uart {
void __iomem *regs;
--
1.7.10.4
More information about the barebox
mailing list