Skip to content

Commit

Permalink
serial: sh-sci: don't use __devexit_p to wrap sci_remove
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Uwe Kleine-König authored and Paul Mundt committed Nov 25, 2009
1 parent b9e05c6 commit b9e39c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b9e39c8

Please sign in to comment.