aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/sh-sci.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-08 23:48:33 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-05-08 23:48:33 +0900
commit54507f6ee99778a727ff1b38a1f4050fe6479835 (patch)
tree40e31870a78c775524e1c948b4b5ad96772bb79a /drivers/serial/sh-sci.c
parentsh: Add clock id to sh-sci platform data on SH-Mobile CPUs. (diff)
downloadlinux-dev-54507f6ee99778a727ff1b38a1f4050fe6479835.tar.xz
linux-dev-54507f6ee99778a727ff1b38a1f4050fe6479835.zip
serial: sh-sci: Fix up section mismatch in error path.
The sci_probe_single() path attempts to use sci_remove() for the error path, while sci_remove() is still flagged as __devexit. So, we simply discard the section annotation. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/serial/sh-sci.c')
-rw-r--r--drivers/serial/sh-sci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c
index 3daf76725ac6..686e4a456e32 100644
--- a/drivers/serial/sh-sci.c
+++ b/drivers/serial/sh-sci.c
@@ -1227,7 +1227,7 @@ static struct uart_driver sci_uart_driver = {
};
-static int __devexit sci_remove(struct platform_device *dev)
+static int sci_remove(struct platform_device *dev)
{
struct sh_sci_priv *priv = platform_get_drvdata(dev);
struct sci_port *p;