diff options
Diffstat (limited to 'drivers/serial/dz.c')
-rw-r--r-- | drivers/serial/dz.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/serial/dz.c b/drivers/serial/dz.c index bf71bad5c34f..d119c8296a78 100644 --- a/drivers/serial/dz.c +++ b/drivers/serial/dz.c | |||
@@ -26,7 +26,6 @@ | |||
26 | 26 | ||
27 | #undef DEBUG_DZ | 27 | #undef DEBUG_DZ |
28 | 28 | ||
29 | #include <linux/config.h> | ||
30 | #include <linux/module.h> | 29 | #include <linux/module.h> |
31 | #include <linux/interrupt.h> | 30 | #include <linux/interrupt.h> |
32 | #include <linux/init.h> | 31 | #include <linux/init.h> |
@@ -768,11 +767,7 @@ void __init dz_serial_console_init(void) | |||
768 | static struct uart_driver dz_reg = { | 767 | static struct uart_driver dz_reg = { |
769 | .owner = THIS_MODULE, | 768 | .owner = THIS_MODULE, |
770 | .driver_name = "serial", | 769 | .driver_name = "serial", |
771 | #ifdef CONFIG_DEVFS | ||
772 | .dev_name = "tts/%d", | ||
773 | #else | ||
774 | .dev_name = "ttyS%d", | 770 | .dev_name = "ttyS%d", |
775 | #endif | ||
776 | .major = TTY_MAJOR, | 771 | .major = TTY_MAJOR, |
777 | .minor = 64, | 772 | .minor = 64, |
778 | .nr = DZ_NB_PORT, | 773 | .nr = DZ_NB_PORT, |
@@ -802,7 +797,7 @@ int __init dz_init(void) | |||
802 | restore_flags(flags); | 797 | restore_flags(flags); |
803 | 798 | ||
804 | if (request_irq(dz_ports[0].port.irq, dz_interrupt, | 799 | if (request_irq(dz_ports[0].port.irq, dz_interrupt, |
805 | SA_INTERRUPT, "DZ", &dz_ports[0])) | 800 | IRQF_DISABLED, "DZ", &dz_ports[0])) |
806 | panic("Unable to register DZ interrupt"); | 801 | panic("Unable to register DZ interrupt"); |
807 | 802 | ||
808 | ret = uart_register_driver(&dz_reg); | 803 | ret = uart_register_driver(&dz_reg); |