aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/68328serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/68328serial.h')
-rw-r--r--drivers/serial/68328serial.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/serial/68328serial.h b/drivers/serial/68328serial.h
index 58aa2154655b..664ceb0a158c 100644
--- a/drivers/serial/68328serial.h
+++ b/drivers/serial/68328serial.h
@@ -181,13 +181,8 @@ struct m68k_serial {
181/* 181/*
182 * Define the number of ports supported and their irqs. 182 * Define the number of ports supported and their irqs.
183 */ 183 */
184#ifndef CONFIG_68328_SERIAL_UART2
185#define NR_PORTS 1 184#define NR_PORTS 1
186#define UART_IRQ_DEFNS {UART_IRQ_NUM} 185#define UART_IRQ_DEFNS {UART_IRQ_NUM}
187#else
188#define NR_PORTS 2
189#define UART_IRQ_DEFNS {UART1_IRQ_NUM, UART2_IRQ_NUM}
190#endif
191 186
192#endif /* __KERNEL__ */ 187#endif /* __KERNEL__ */
193#endif /* !(_MC683XX_SERIAL_H) */ 188#endif /* !(_MC683XX_SERIAL_H) */