|
@@ -274,7 +274,7 @@ static int sa1100_mtd_probe(struct platform_device *pdev)
|
|
|
return err;
|
|
|
}
|
|
|
|
|
|
-static int __exit sa1100_mtd_remove(struct platform_device *pdev)
|
|
|
+static int sa1100_mtd_remove(struct platform_device *pdev)
|
|
|
{
|
|
|
struct sa_info *info = platform_get_drvdata(pdev);
|
|
|
struct flash_platform_data *plat = dev_get_platdata(&pdev->dev);
|
|
@@ -286,7 +286,7 @@ static int __exit sa1100_mtd_remove(struct platform_device *pdev)
|
|
|
|
|
|
static struct platform_driver sa1100_mtd_driver = {
|
|
|
.probe = sa1100_mtd_probe,
|
|
|
- .remove = __exit_p(sa1100_mtd_remove),
|
|
|
+ .remove = sa1100_mtd_remove,
|
|
|
.driver = {
|
|
|
.name = "sa1100-mtd",
|
|
|
},
|