|
@@ -128,7 +128,7 @@ static int __devexit plat_nand_remove(struct platform_device *pdev)
|
|
|
|
|
|
static struct platform_driver plat_nand_driver = {
|
|
static struct platform_driver plat_nand_driver = {
|
|
.probe = plat_nand_probe,
|
|
.probe = plat_nand_probe,
|
|
- .remove = plat_nand_remove,
|
|
|
|
|
|
+ .remove = __devexit_p(plat_nand_remove),
|
|
.driver = {
|
|
.driver = {
|
|
.name = "gen_nand",
|
|
.name = "gen_nand",
|
|
.owner = THIS_MODULE,
|
|
.owner = THIS_MODULE,
|