diff options
Diffstat (limited to 'drivers/serial/8250.c')
-rw-r--r-- | drivers/serial/8250.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index bbf78aaf9e01..0995430e4cf1 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c | |||
@@ -19,7 +19,6 @@ | |||
19 | * mapbase is the physical address of the IO port. | 19 | * mapbase is the physical address of the IO port. |
20 | * membase is an 'ioremapped' cookie. | 20 | * membase is an 'ioremapped' cookie. |
21 | */ | 21 | */ |
22 | #include <linux/config.h> | ||
23 | 22 | ||
24 | #if defined(CONFIG_SERIAL_8250_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) | 23 | #if defined(CONFIG_SERIAL_8250_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) |
25 | #define SUPPORT_SYSRQ | 24 | #define SUPPORT_SYSRQ |
@@ -49,7 +48,7 @@ | |||
49 | 48 | ||
50 | /* | 49 | /* |
51 | * Configuration: | 50 | * Configuration: |
52 | * share_irqs - whether we pass SA_SHIRQ to request_irq(). This option | 51 | * share_irqs - whether we pass IRQF_SHARED to request_irq(). This option |
53 | * is unsafe when used on edge-triggered interrupts. | 52 | * is unsafe when used on edge-triggered interrupts. |
54 | */ | 53 | */ |
55 | static unsigned int share_irqs = SERIAL8250_SHARE_IRQS; | 54 | static unsigned int share_irqs = SERIAL8250_SHARE_IRQS; |
@@ -1401,7 +1400,7 @@ static void serial_do_unlink(struct irq_info *i, struct uart_8250_port *up) | |||
1401 | static int serial_link_irq_chain(struct uart_8250_port *up) | 1400 | static int serial_link_irq_chain(struct uart_8250_port *up) |
1402 | { | 1401 | { |
1403 | struct irq_info *i = irq_lists + up->port.irq; | 1402 | struct irq_info *i = irq_lists + up->port.irq; |
1404 | int ret, irq_flags = up->port.flags & UPF_SHARE_IRQ ? SA_SHIRQ : 0; | 1403 | int ret, irq_flags = up->port.flags & UPF_SHARE_IRQ ? IRQF_SHARED : 0; |
1405 | 1404 | ||
1406 | spin_lock_irq(&i->lock); | 1405 | spin_lock_irq(&i->lock); |
1407 | 1406 | ||
@@ -2354,7 +2353,6 @@ int __init serial8250_start_console(struct uart_port *port, char *options) | |||
2354 | static struct uart_driver serial8250_reg = { | 2353 | static struct uart_driver serial8250_reg = { |
2355 | .owner = THIS_MODULE, | 2354 | .owner = THIS_MODULE, |
2356 | .driver_name = "serial", | 2355 | .driver_name = "serial", |
2357 | .devfs_name = "tts/", | ||
2358 | .dev_name = "ttyS", | 2356 | .dev_name = "ttyS", |
2359 | .major = TTY_MAJOR, | 2357 | .major = TTY_MAJOR, |
2360 | .minor = 64, | 2358 | .minor = 64, |