aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/mxc_nand.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-12-07 04:44:05 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-12-07 04:44:05 -0500
commit51eeb878155cdea73e7a1f0372b266018bd7a424 (patch)
treea2861259174863232d36069fbcf3eae120b353ea /drivers/mtd/nand/mxc_nand.c
parentdf0094d7f46d37944aa26b4f6e978b4b2ad252ea (diff)
Revert "mtd: move mxcnd_remove to .exit.text"
This reverts commit 82613b0da622efbd24cb7b23eb349966802310f1, because commit daa0f15 (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: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/mxc_nand.c')
-rw-r--r--drivers/mtd/nand/mxc_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index f7366e99fe1e..45dec5770da0 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -861,7 +861,7 @@ eclk:
861 return err; 861 return err;
862} 862}
863 863
864static int __exit mxcnd_remove(struct platform_device *pdev) 864static int __devexit mxcnd_remove(struct platform_device *pdev)
865{ 865{
866 struct mxc_nand_host *host = platform_get_drvdata(pdev); 866 struct mxc_nand_host *host = platform_get_drvdata(pdev);
867 867