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