aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/m32r_sio.c2
-rw-r--r--drivers/serial/m32r_sio.h6
2 files changed, 1 insertions, 7 deletions
diff --git a/drivers/serial/m32r_sio.c b/drivers/serial/m32r_sio.c
index 6e09c8b395e8..348ee2c19b58 100644
--- a/drivers/serial/m32r_sio.c
+++ b/drivers/serial/m32r_sio.c
@@ -539,7 +539,7 @@ static void serial_do_unlink(struct irq_info *i, struct uart_sio_port *up)
539static int serial_link_irq_chain(struct uart_sio_port *up) 539static int serial_link_irq_chain(struct uart_sio_port *up)
540{ 540{
541 struct irq_info *i = irq_lists + up->port.irq; 541 struct irq_info *i = irq_lists + up->port.irq;
542 int ret, irq_flags = up->port.flags & UPF_SHARE_IRQ ? IRQF_SHARED : 0; 542 int ret, irq_flags = 0;
543 543
544 spin_lock_irq(&i->lock); 544 spin_lock_irq(&i->lock);
545 545
diff --git a/drivers/serial/m32r_sio.h b/drivers/serial/m32r_sio.h
index 849f1b2c2531..e9b7e11793b1 100644
--- a/drivers/serial/m32r_sio.h
+++ b/drivers/serial/m32r_sio.h
@@ -46,9 +46,3 @@ struct old_serial_port {
46#define PROBE_ANY (~0) 46#define PROBE_ANY (~0)
47 47
48#define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8) 48#define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8)
49
50#ifdef CONFIG_SERIAL_SIO_SHARE_IRQ
51#define M32R_SIO_SHARE_IRQS 1
52#else
53#define M32R_SIO_SHARE_IRQS 0
54#endif