aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/npcm-rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hw_random/npcm-rng.c')
-rw-r--r--drivers/char/hw_random/npcm-rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/npcm-rng.c b/drivers/char/hw_random/npcm-rng.c
index bce8c4829a1f..9ff00f096f38 100644
--- a/drivers/char/hw_random/npcm-rng.c
+++ b/drivers/char/hw_random/npcm-rng.c
@@ -176,7 +176,7 @@ static struct platform_driver npcm_rng_driver = {
.of_match_table = of_match_ptr(rng_dt_id),
},
.probe = npcm_rng_probe,
- .remove_new = npcm_rng_remove,
+ .remove = npcm_rng_remove,
};
module_platform_driver(npcm_rng_driver);