diff options
Diffstat (limited to 'drivers/serial/sh-sci.c')
-rw-r--r-- | drivers/serial/sh-sci.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c index 44f6bf79bbe1..301573373c30 100644 --- a/drivers/serial/sh-sci.c +++ b/drivers/serial/sh-sci.c | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #undef DEBUG | 21 | #undef DEBUG |
22 | 22 | ||
23 | #include <linux/config.h> | ||
24 | #include <linux/module.h> | 23 | #include <linux/module.h> |
25 | #include <linux/errno.h> | 24 | #include <linux/errno.h> |
26 | #include <linux/signal.h> | 25 | #include <linux/signal.h> |
@@ -842,7 +841,7 @@ static int sci_request_irq(struct sci_port *port) | |||
842 | printk(KERN_ERR "sci: Cannot allocate irq.(IRQ=0)\n"); | 841 | printk(KERN_ERR "sci: Cannot allocate irq.(IRQ=0)\n"); |
843 | return -ENODEV; | 842 | return -ENODEV; |
844 | } | 843 | } |
845 | if (request_irq(port->irqs[0], sci_mpxed_interrupt, SA_INTERRUPT, | 844 | if (request_irq(port->irqs[0], sci_mpxed_interrupt, IRQF_DISABLED, |
846 | "sci", port)) { | 845 | "sci", port)) { |
847 | printk(KERN_ERR "sci: Cannot allocate irq.\n"); | 846 | printk(KERN_ERR "sci: Cannot allocate irq.\n"); |
848 | return -ENODEV; | 847 | return -ENODEV; |
@@ -851,7 +850,7 @@ static int sci_request_irq(struct sci_port *port) | |||
851 | for (i = 0; i < ARRAY_SIZE(handlers); i++) { | 850 | for (i = 0; i < ARRAY_SIZE(handlers); i++) { |
852 | if (!port->irqs[i]) | 851 | if (!port->irqs[i]) |
853 | continue; | 852 | continue; |
854 | if (request_irq(port->irqs[i], handlers[i], SA_INTERRUPT, | 853 | if (request_irq(port->irqs[i], handlers[i], IRQF_DISABLED, |
855 | desc[i], port)) { | 854 | desc[i], port)) { |
856 | printk(KERN_ERR "sci: Cannot allocate irq.\n"); | 855 | printk(KERN_ERR "sci: Cannot allocate irq.\n"); |
857 | return -ENODEV; | 856 | return -ENODEV; |
@@ -1699,9 +1698,6 @@ static char banner[] __initdata = | |||
1699 | static struct uart_driver sci_uart_driver = { | 1698 | static struct uart_driver sci_uart_driver = { |
1700 | .owner = THIS_MODULE, | 1699 | .owner = THIS_MODULE, |
1701 | .driver_name = "sci", | 1700 | .driver_name = "sci", |
1702 | #ifdef CONFIG_DEVFS_FS | ||
1703 | .devfs_name = "ttsc/", | ||
1704 | #endif | ||
1705 | .dev_name = "ttySC", | 1701 | .dev_name = "ttySC", |
1706 | .major = SCI_MAJOR, | 1702 | .major = SCI_MAJOR, |
1707 | .minor = SCI_MINOR_START, | 1703 | .minor = SCI_MINOR_START, |