projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b226e1
)
serial: sh-sci: Fix up section mismatch in error path.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 8 May 2009 14:48:33 +0000
(23:48 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 8 May 2009 14:48:33 +0000
(23:48 +0900)
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>
drivers/serial/sh-sci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/sh-sci.c
b/drivers/serial/sh-sci.c
index 3daf76725ac6fc0663e1d215149a244030857f63..686e4a456e32dd628e127819bef8b4e20995e5ad 100644
(file)
--- 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;