提交 51eeb878 编写于 作者: U Uwe Kleine-König 提交者: David Woodhouse

Revert "mtd: move mxcnd_remove to .exit.text"

This reverts commit 82613b0d, because
commit daa0f15a (mtd: don't use __exit_p to wrap mxcnd_remove) is a
better solution. Not having a remove callback breaks rebinding because
resources are not freed on remove.
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 df0094d7
......@@ -861,7 +861,7 @@ static int __init mxcnd_probe(struct platform_device *pdev)
return err;
}
static int __exit mxcnd_remove(struct platform_device *pdev)
static int __devexit mxcnd_remove(struct platform_device *pdev)
{
struct mxc_nand_host *host = platform_get_drvdata(pdev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册