diff options
Diffstat (limited to 'drivers/serial/ioc4_serial.c')
-rw-r--r-- | drivers/serial/ioc4_serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/ioc4_serial.c b/drivers/serial/ioc4_serial.c index 98ce88d80207..711bd1511439 100644 --- a/drivers/serial/ioc4_serial.c +++ b/drivers/serial/ioc4_serial.c | |||
@@ -921,7 +921,7 @@ static void handle_dma_error_intr(void *arg, uint32_t other_ir) | |||
921 | { | 921 | { |
922 | struct ioc4_port *port = (struct ioc4_port *)arg; | 922 | struct ioc4_port *port = (struct ioc4_port *)arg; |
923 | struct hooks *hooks = port->ip_hooks; | 923 | struct hooks *hooks = port->ip_hooks; |
924 | unsigned int flags; | 924 | unsigned long flags; |
925 | 925 | ||
926 | spin_lock_irqsave(&port->ip_lock, flags); | 926 | spin_lock_irqsave(&port->ip_lock, flags); |
927 | 927 | ||
@@ -1834,7 +1834,7 @@ static void handle_intr(void *arg, uint32_t sio_ir) | |||
1834 | struct ioc4_port *port = (struct ioc4_port *)arg; | 1834 | struct ioc4_port *port = (struct ioc4_port *)arg; |
1835 | struct hooks *hooks = port->ip_hooks; | 1835 | struct hooks *hooks = port->ip_hooks; |
1836 | unsigned int rx_high_rd_aborted = 0; | 1836 | unsigned int rx_high_rd_aborted = 0; |
1837 | unsigned int flags; | 1837 | unsigned long flags; |
1838 | struct uart_port *the_port; | 1838 | struct uart_port *the_port; |
1839 | int loop_counter; | 1839 | int loop_counter; |
1840 | 1840 | ||
@@ -2935,7 +2935,7 @@ static void __devexit ioc4_serial_exit(void) | |||
2935 | uart_unregister_driver(&ioc4_uart_rs422); | 2935 | uart_unregister_driver(&ioc4_uart_rs422); |
2936 | } | 2936 | } |
2937 | 2937 | ||
2938 | module_init(ioc4_serial_init); | 2938 | late_initcall(ioc4_serial_init); /* Call only after tty init is done */ |
2939 | module_exit(ioc4_serial_exit); | 2939 | module_exit(ioc4_serial_exit); |
2940 | 2940 | ||
2941 | MODULE_AUTHOR("Pat Gefre - Silicon Graphics Inc. (SGI) <pfg@sgi.com>"); | 2941 | MODULE_AUTHOR("Pat Gefre - Silicon Graphics Inc. (SGI) <pfg@sgi.com>"); |