diff options
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/s3c2400.c | 2 | ||||
-rw-r--r-- | drivers/serial/s3c2410.c | 2 | ||||
-rw-r--r-- | drivers/serial/s3c2412.c | 2 | ||||
-rw-r--r-- | drivers/serial/s3c2440.c | 2 | ||||
-rw-r--r-- | drivers/serial/s3c24a0.c | 2 | ||||
-rw-r--r-- | drivers/serial/s3c6400.c | 2 | ||||
-rw-r--r-- | drivers/serial/samsung.c | 2 | ||||
-rw-r--r-- | drivers/serial/samsung.h | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/drivers/serial/s3c2400.c b/drivers/serial/s3c2400.c index 4873f2978bd2..fb00ed5296e6 100644 --- a/drivers/serial/s3c2400.c +++ b/drivers/serial/s3c2400.c | |||
@@ -78,7 +78,7 @@ static int s3c2400_serial_probe(struct platform_device *dev) | |||
78 | 78 | ||
79 | static struct platform_driver s3c2400_serial_drv = { | 79 | static struct platform_driver s3c2400_serial_drv = { |
80 | .probe = s3c2400_serial_probe, | 80 | .probe = s3c2400_serial_probe, |
81 | .remove = s3c24xx_serial_remove, | 81 | .remove = __devexit_p(s3c24xx_serial_remove), |
82 | .driver = { | 82 | .driver = { |
83 | .name = "s3c2400-uart", | 83 | .name = "s3c2400-uart", |
84 | .owner = THIS_MODULE, | 84 | .owner = THIS_MODULE, |
diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c index 87c182ef71b8..b5d7cbcba2ae 100644 --- a/drivers/serial/s3c2410.c +++ b/drivers/serial/s3c2410.c | |||
@@ -90,7 +90,7 @@ static int s3c2410_serial_probe(struct platform_device *dev) | |||
90 | 90 | ||
91 | static struct platform_driver s3c2410_serial_drv = { | 91 | static struct platform_driver s3c2410_serial_drv = { |
92 | .probe = s3c2410_serial_probe, | 92 | .probe = s3c2410_serial_probe, |
93 | .remove = s3c24xx_serial_remove, | 93 | .remove = __devexit_p(s3c24xx_serial_remove), |
94 | .driver = { | 94 | .driver = { |
95 | .name = "s3c2410-uart", | 95 | .name = "s3c2410-uart", |
96 | .owner = THIS_MODULE, | 96 | .owner = THIS_MODULE, |
diff --git a/drivers/serial/s3c2412.c b/drivers/serial/s3c2412.c index fd017b375568..11dcb90bdfef 100644 --- a/drivers/serial/s3c2412.c +++ b/drivers/serial/s3c2412.c | |||
@@ -123,7 +123,7 @@ static int s3c2412_serial_probe(struct platform_device *dev) | |||
123 | 123 | ||
124 | static struct platform_driver s3c2412_serial_drv = { | 124 | static struct platform_driver s3c2412_serial_drv = { |
125 | .probe = s3c2412_serial_probe, | 125 | .probe = s3c2412_serial_probe, |
126 | .remove = s3c24xx_serial_remove, | 126 | .remove = __devexit_p(s3c24xx_serial_remove), |
127 | .driver = { | 127 | .driver = { |
128 | .name = "s3c2412-uart", | 128 | .name = "s3c2412-uart", |
129 | .owner = THIS_MODULE, | 129 | .owner = THIS_MODULE, |
diff --git a/drivers/serial/s3c2440.c b/drivers/serial/s3c2440.c index 29cbb0afef8e..06c5b0cc47a3 100644 --- a/drivers/serial/s3c2440.c +++ b/drivers/serial/s3c2440.c | |||
@@ -153,7 +153,7 @@ static int s3c2440_serial_probe(struct platform_device *dev) | |||
153 | 153 | ||
154 | static struct platform_driver s3c2440_serial_drv = { | 154 | static struct platform_driver s3c2440_serial_drv = { |
155 | .probe = s3c2440_serial_probe, | 155 | .probe = s3c2440_serial_probe, |
156 | .remove = s3c24xx_serial_remove, | 156 | .remove = __devexit_p(s3c24xx_serial_remove), |
157 | .driver = { | 157 | .driver = { |
158 | .name = "s3c2440-uart", | 158 | .name = "s3c2440-uart", |
159 | .owner = THIS_MODULE, | 159 | .owner = THIS_MODULE, |
diff --git a/drivers/serial/s3c24a0.c b/drivers/serial/s3c24a0.c index ebf2fd3c8f7d..786a067d62ac 100644 --- a/drivers/serial/s3c24a0.c +++ b/drivers/serial/s3c24a0.c | |||
@@ -94,7 +94,7 @@ static int s3c24a0_serial_probe(struct platform_device *dev) | |||
94 | 94 | ||
95 | static struct platform_driver s3c24a0_serial_drv = { | 95 | static struct platform_driver s3c24a0_serial_drv = { |
96 | .probe = s3c24a0_serial_probe, | 96 | .probe = s3c24a0_serial_probe, |
97 | .remove = s3c24xx_serial_remove, | 97 | .remove = __devexit_p(s3c24xx_serial_remove), |
98 | .driver = { | 98 | .driver = { |
99 | .name = "s3c24a0-uart", | 99 | .name = "s3c24a0-uart", |
100 | .owner = THIS_MODULE, | 100 | .owner = THIS_MODULE, |
diff --git a/drivers/serial/s3c6400.c b/drivers/serial/s3c6400.c index 3e3785233682..48f1a3781f0d 100644 --- a/drivers/serial/s3c6400.c +++ b/drivers/serial/s3c6400.c | |||
@@ -124,7 +124,7 @@ static int s3c6400_serial_probe(struct platform_device *dev) | |||
124 | 124 | ||
125 | static struct platform_driver s3c6400_serial_drv = { | 125 | static struct platform_driver s3c6400_serial_drv = { |
126 | .probe = s3c6400_serial_probe, | 126 | .probe = s3c6400_serial_probe, |
127 | .remove = s3c24xx_serial_remove, | 127 | .remove = __devexit_p(s3c24xx_serial_remove), |
128 | .driver = { | 128 | .driver = { |
129 | .name = "s3c6400-uart", | 129 | .name = "s3c6400-uart", |
130 | .owner = THIS_MODULE, | 130 | .owner = THIS_MODULE, |
diff --git a/drivers/serial/samsung.c b/drivers/serial/samsung.c index 93b5d75db126..c8851a0db63a 100644 --- a/drivers/serial/samsung.c +++ b/drivers/serial/samsung.c | |||
@@ -1174,7 +1174,7 @@ int s3c24xx_serial_probe(struct platform_device *dev, | |||
1174 | 1174 | ||
1175 | EXPORT_SYMBOL_GPL(s3c24xx_serial_probe); | 1175 | EXPORT_SYMBOL_GPL(s3c24xx_serial_probe); |
1176 | 1176 | ||
1177 | int s3c24xx_serial_remove(struct platform_device *dev) | 1177 | int __devexit s3c24xx_serial_remove(struct platform_device *dev) |
1178 | { | 1178 | { |
1179 | struct uart_port *port = s3c24xx_dev_to_port(&dev->dev); | 1179 | struct uart_port *port = s3c24xx_dev_to_port(&dev->dev); |
1180 | 1180 | ||
diff --git a/drivers/serial/samsung.h b/drivers/serial/samsung.h index 7afb94843a08..d3fe315969f6 100644 --- a/drivers/serial/samsung.h +++ b/drivers/serial/samsung.h | |||
@@ -72,7 +72,7 @@ struct s3c24xx_uart_port { | |||
72 | extern int s3c24xx_serial_probe(struct platform_device *dev, | 72 | extern int s3c24xx_serial_probe(struct platform_device *dev, |
73 | struct s3c24xx_uart_info *uart); | 73 | struct s3c24xx_uart_info *uart); |
74 | 74 | ||
75 | extern int s3c24xx_serial_remove(struct platform_device *dev); | 75 | extern int __devexit s3c24xx_serial_remove(struct platform_device *dev); |
76 | 76 | ||
77 | extern int s3c24xx_serial_initconsole(struct platform_driver *drv, | 77 | extern int s3c24xx_serial_initconsole(struct platform_driver *drv, |
78 | struct s3c24xx_uart_info *uart); | 78 | struct s3c24xx_uart_info *uart); |