Commit dab8f496 authored by Hirokazu Takata's avatar Hirokazu Takata Committed by Linus Torvalds

m32r: serial: remove M32R_SIO_SHARE_IRQS

Remove an unused symbol M32R_SIO_SHARE_IRQS from drivers/serial/m32r_sio.h.
Signed-off-by: default avatarHirokazu Takata <takata@linux-m32r.org>
Cc: "Robert P. J. Day" <rpjday@mindspring.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 977676ac
...@@ -539,7 +539,7 @@ static void serial_do_unlink(struct irq_info *i, struct uart_sio_port *up) ...@@ -539,7 +539,7 @@ static void serial_do_unlink(struct irq_info *i, struct uart_sio_port *up)
static int serial_link_irq_chain(struct uart_sio_port *up) static int serial_link_irq_chain(struct uart_sio_port *up)
{ {
struct irq_info *i = irq_lists + up->port.irq; struct irq_info *i = irq_lists + up->port.irq;
int ret, irq_flags = up->port.flags & UPF_SHARE_IRQ ? IRQF_SHARED : 0; int ret, irq_flags = 0;
spin_lock_irq(&i->lock); spin_lock_irq(&i->lock);
......
...@@ -46,9 +46,3 @@ struct old_serial_port { ...@@ -46,9 +46,3 @@ struct old_serial_port {
#define PROBE_ANY (~0) #define PROBE_ANY (~0)
#define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8) #define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8)
#ifdef CONFIG_SERIAL_SIO_SHARE_IRQ
#define M32R_SIO_SHARE_IRQS 1
#else
#define M32R_SIO_SHARE_IRQS 0
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment