aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/s3c24a0.c
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-06-22 13:42:49 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-22 14:32:24 -0400
commit90ceb9644d7cdec00a90255473359a7e2bb537a9 (patch)
treeac1539fb98f5efd2a7ba18515bb53f9eb86d2b2e /drivers/serial/s3c24a0.c
parent099d5270897606473d63091afcc63f53ee1894bc (diff)
serial: samsung.c: mark s3c24xx_serial_remove as __devexit
Mark the remove function as __devexit so it gets eliminated in CONFIG_HOTPLUG=n builds. Saves ~100 bytes. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Acked-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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)
94 94
95static struct platform_driver s3c24a0_serial_drv = { 95static 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,