summaryrefslogtreecommitdiff
path: root/include/regmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/regmap.h')
-rw-r--r--include/regmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/regmap.h b/include/regmap.h
index d827a0bd52..e96c79dd26 100644
--- a/include/regmap.h
+++ b/include/regmap.h
@@ -47,10 +47,10 @@ int regmap_read(struct regmap *map, uint offset, uint *valp);
*
* Use regmap_uninit() to free it.
*
- * @dev: Device that uses this map
+ * @node: Device node that uses this map
* @mapp: Returns allocated map
*/
-int regmap_init_mem(struct udevice *dev, struct regmap **mapp);
+int regmap_init_mem(ofnode node, struct regmap **mapp);
/**
* regmap_init_mem_platdata() - Set up a new memory register map for of-platdata