summaryrefslogtreecommitdiffstats
path: root/drivers/serial/s3c2440.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/s3c2440.c')
-rw-r--r--drivers/serial/s3c2440.c2
1 files changed, 1 insertions, 1 deletions
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)
static struct platform_driver s3c2440_serial_drv = {
.probe = s3c2440_serial_probe,
- .remove = s3c24xx_serial_remove,
+ .remove = __devexit_p(s3c24xx_serial_remove),
.driver = {
.name = "s3c2440-uart",
.owner = THIS_MODULE,
OpenPOWER on IntegriCloud