summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/memremap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memremap.c b/mm/memremap.c
index b870a659eee6..377ccbc7e356 100644
--- a/mm/memremap.c
+++ b/mm/memremap.c
@@ -279,8 +279,8 @@ err_pfn_remap:
/*
- * Not device managed version of dev_memremap_pages, undone by
- * memunmap_pages(). Please use dev_memremap_pages if you have a struct
+ * Not device managed version of devm_memremap_pages, undone by
+ * memunmap_pages(). Please use devm_memremap_pages if you have a struct
* device available.
*/
void *memremap_pages(struct dev_pagemap *pgmap, int nid)