diff options
Diffstat (limited to 'drivers/serial/s5pv210.c')
| -rw-r--r-- | drivers/serial/s5pv210.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/serial/s5pv210.c b/drivers/serial/s5pv210.c index 8dc03837617b..4a789e5361a4 100644 --- a/drivers/serial/s5pv210.c +++ b/drivers/serial/s5pv210.c | |||
| @@ -119,7 +119,7 @@ static int s5p_serial_probe(struct platform_device *pdev) | |||
| 119 | return s3c24xx_serial_probe(pdev, s5p_uart_inf[pdev->id]); | 119 | return s3c24xx_serial_probe(pdev, s5p_uart_inf[pdev->id]); |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | static struct platform_driver s5p_serial_drv = { | 122 | static struct platform_driver s5p_serial_driver = { |
| 123 | .probe = s5p_serial_probe, | 123 | .probe = s5p_serial_probe, |
| 124 | .remove = __devexit_p(s3c24xx_serial_remove), | 124 | .remove = __devexit_p(s3c24xx_serial_remove), |
| 125 | .driver = { | 125 | .driver = { |
| @@ -130,19 +130,19 @@ static struct platform_driver s5p_serial_drv = { | |||
| 130 | 130 | ||
| 131 | static int __init s5pv210_serial_console_init(void) | 131 | static int __init s5pv210_serial_console_init(void) |
| 132 | { | 132 | { |
| 133 | return s3c24xx_serial_initconsole(&s5p_serial_drv, s5p_uart_inf); | 133 | return s3c24xx_serial_initconsole(&s5p_serial_driver, s5p_uart_inf); |
| 134 | } | 134 | } |
| 135 | 135 | ||
| 136 | console_initcall(s5pv210_serial_console_init); | 136 | console_initcall(s5pv210_serial_console_init); |
| 137 | 137 | ||
| 138 | static int __init s5p_serial_init(void) | 138 | static int __init s5p_serial_init(void) |
| 139 | { | 139 | { |
| 140 | return s3c24xx_serial_init(&s5p_serial_drv, *s5p_uart_inf); | 140 | return s3c24xx_serial_init(&s5p_serial_driver, *s5p_uart_inf); |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | static void __exit s5p_serial_exit(void) | 143 | static void __exit s5p_serial_exit(void) |
| 144 | { | 144 | { |
| 145 | platform_driver_unregister(&s5p_serial_drv); | 145 | platform_driver_unregister(&s5p_serial_driver); |
| 146 | } | 146 | } |
| 147 | 147 | ||
| 148 | module_init(s5p_serial_init); | 148 | module_init(s5p_serial_init); |
