diff options
Diffstat (limited to 'drivers/serial/mpc52xx_uart.c')
-rw-r--r-- | drivers/serial/mpc52xx_uart.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/serial/mpc52xx_uart.c b/drivers/serial/mpc52xx_uart.c index 6459edc7f5c5..7708e5dd3656 100644 --- a/drivers/serial/mpc52xx_uart.c +++ b/drivers/serial/mpc52xx_uart.c | |||
@@ -44,7 +44,6 @@ | |||
44 | * will be mapped to. | 44 | * will be mapped to. |
45 | */ | 45 | */ |
46 | 46 | ||
47 | #include <linux/config.h> | ||
48 | #include <linux/platform_device.h> | 47 | #include <linux/platform_device.h> |
49 | #include <linux/module.h> | 48 | #include <linux/module.h> |
50 | #include <linux/tty.h> | 49 | #include <linux/tty.h> |
@@ -191,7 +190,7 @@ mpc52xx_uart_startup(struct uart_port *port) | |||
191 | 190 | ||
192 | /* Request IRQ */ | 191 | /* Request IRQ */ |
193 | ret = request_irq(port->irq, mpc52xx_uart_int, | 192 | ret = request_irq(port->irq, mpc52xx_uart_int, |
194 | SA_INTERRUPT | SA_SAMPLE_RANDOM, "mpc52xx_psc_uart", port); | 193 | IRQF_DISABLED | IRQF_SAMPLE_RANDOM, "mpc52xx_psc_uart", port); |
195 | if (ret) | 194 | if (ret) |
196 | return ret; | 195 | return ret; |
197 | 196 | ||
@@ -693,7 +692,6 @@ static struct uart_driver mpc52xx_uart_driver = { | |||
693 | .owner = THIS_MODULE, | 692 | .owner = THIS_MODULE, |
694 | .driver_name = "mpc52xx_psc_uart", | 693 | .driver_name = "mpc52xx_psc_uart", |
695 | .dev_name = "ttyPSC", | 694 | .dev_name = "ttyPSC", |
696 | .devfs_name = "ttyPSC", | ||
697 | .major = SERIAL_PSC_MAJOR, | 695 | .major = SERIAL_PSC_MAJOR, |
698 | .minor = SERIAL_PSC_MINOR, | 696 | .minor = SERIAL_PSC_MINOR, |
699 | .nr = MPC52xx_PSC_MAXNUM, | 697 | .nr = MPC52xx_PSC_MAXNUM, |
@@ -728,8 +726,7 @@ mpc52xx_uart_probe(struct platform_device *dev) | |||
728 | 726 | ||
729 | spin_lock_init(&port->lock); | 727 | spin_lock_init(&port->lock); |
730 | port->uartclk = __res.bi_ipbfreq / 2; /* Look at CTLR doc */ | 728 | port->uartclk = __res.bi_ipbfreq / 2; /* Look at CTLR doc */ |
731 | port->fifosize = 255; /* Should be 512 ! But it can't be */ | 729 | port->fifosize = 512; |
732 | /* stored in a unsigned char */ | ||
733 | port->iotype = UPIO_MEM; | 730 | port->iotype = UPIO_MEM; |
734 | port->flags = UPF_BOOT_AUTOCONF | | 731 | port->flags = UPF_BOOT_AUTOCONF | |
735 | ( uart_console(port) ? 0 : UPF_IOREMAP ); | 732 | ( uart_console(port) ? 0 : UPF_IOREMAP ); |