提交 b9e39c89 编写于 作者: U Uwe Kleine-König 提交者: Paul Mundt

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: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Magnus Damm <damm@opensource.se>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 b9e05c64
...@@ -1370,7 +1370,7 @@ static struct dev_pm_ops sci_dev_pm_ops = { ...@@ -1370,7 +1370,7 @@ static struct dev_pm_ops sci_dev_pm_ops = {
static struct platform_driver sci_driver = { static struct platform_driver sci_driver = {
.probe = sci_probe, .probe = sci_probe,
.remove = __devexit_p(sci_remove), .remove = sci_remove,
.driver = { .driver = {
.name = "sh-sci", .name = "sh-sci",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册