aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorHirokazu Takata <takata@linux-m32r.org>2007-10-16 04:26:36 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:04 -0400
commitdab8f4963ae0a79b945b8ed297e30d390a9d9f50 (patch)
tree00a30ab2ed84b855a429e03996a01c754159ca8f /drivers/serial
parent977676aca32d8bc9687c76875643b72f3451a8b2 (diff)
m32r: serial: remove M32R_SIO_SHARE_IRQS
Remove an unused symbol M32R_SIO_SHARE_IRQS from drivers/serial/m32r_sio.h. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Cc: "Robert P. J. Day" <rpjday@mindspring.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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