summaryrefslogtreecommitdiff
path: root/drivers/memory/jz4780-nemc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/memory/jz4780-nemc.c')
-rw-r--r--drivers/memory/jz4780-nemc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/memory/jz4780-nemc.c b/drivers/memory/jz4780-nemc.c
index fb6db2ffe71b..1a8161514d03 100644
--- a/drivers/memory/jz4780-nemc.c
+++ b/drivers/memory/jz4780-nemc.c
@@ -407,7 +407,7 @@ static const struct of_device_id jz4780_nemc_dt_match[] = {
static struct platform_driver jz4780_nemc_driver = {
.probe = jz4780_nemc_probe,
- .remove_new = jz4780_nemc_remove,
+ .remove = jz4780_nemc_remove,
.driver = {
.name = "jz4780-nemc",
.of_match_table = of_match_ptr(jz4780_nemc_dt_match),