summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-11-24 22:07:32 +0100
committerPaul Mundt <lethal@linux-sh.org>2009-11-25 02:39:43 +0100
commitb9e39c89a9639e5005d8225a23fb7faf118a85eb (patch)
treeb0004ef55c442c1920647f2579937aca7a1fef01 /drivers/serial
parentrtc: don't use __exit_p to wrap ds1302_rtc_remove (diff)
downloadlinux-b9e39c89a9639e5005d8225a23fb7faf118a85eb.tar.xz
linux-b9e39c89a9639e5005d8225a23fb7faf118a85eb.zip
serial: sh-sci: don't use __devexit_p to wrap sci_remove
The function sci_remove is defined without any section modifier, so don't use __devexit_p to wrap it. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Magnus Damm <damm@opensource.se> Cc: linux-kernel@vger.kernel.org Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/serial')
-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 6498bd1fb6dd..89421fa0d250 100644
--- a/drivers/serial/sh-sci.c
+++ b/drivers/serial/sh-sci.c
@@ -1370,7 +1370,7 @@ static struct dev_pm_ops sci_dev_pm_ops = {
static struct platform_driver sci_driver = {
.probe = sci_probe,
- .remove = __devexit_p(sci_remove),
+ .remove = sci_remove,
.driver = {
.name = "sh-sci",
.owner = THIS_MODULE,