diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-06-22 13:42:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-22 14:32:24 -0400 |
commit | 90ceb9644d7cdec00a90255473359a7e2bb537a9 (patch) | |
tree | ac1539fb98f5efd2a7ba18515bb53f9eb86d2b2e /drivers/serial/s3c2440.c | |
parent | 099d5270897606473d63091afcc63f53ee1894bc (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/s3c2440.c')
-rw-r--r-- | drivers/serial/s3c2440.c | 2 |
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) | |||
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, |