aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/ioc4_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/ioc4_serial.c')
-rw-r--r--drivers/serial/ioc4_serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/ioc4_serial.c b/drivers/serial/ioc4_serial.c
index 2e02c3026d24..902b067d7e9c 100644
--- a/drivers/serial/ioc4_serial.c
+++ b/drivers/serial/ioc4_serial.c
@@ -2904,7 +2904,7 @@ static struct ioc4_submodule ioc4_serial_submodule = {
2904/** 2904/**
2905 * ioc4_serial_init - module init 2905 * ioc4_serial_init - module init
2906 */ 2906 */
2907int ioc4_serial_init(void) 2907static int __init ioc4_serial_init(void)
2908{ 2908{
2909 int ret; 2909 int ret;
2910 2910
@@ -2926,7 +2926,7 @@ int ioc4_serial_init(void)
2926 return ioc4_register_submodule(&ioc4_serial_submodule); 2926 return ioc4_register_submodule(&ioc4_serial_submodule);
2927} 2927}
2928 2928
2929static void __devexit ioc4_serial_exit(void) 2929static void __exit ioc4_serial_exit(void)
2930{ 2930{
2931 ioc4_unregister_submodule(&ioc4_serial_submodule); 2931 ioc4_unregister_submodule(&ioc4_serial_submodule);
2932 uart_unregister_driver(&ioc4_uart_rs232); 2932 uart_unregister_driver(&ioc4_uart_rs232);