]> git.sur5r.net Git - u-boot/blobdiff - include/regmap.h
regmap: change regmap_init_mem() to take ofnode instead udevice
[u-boot] / include / regmap.h
index d827a0bd523b6a4938ca6c55f52bf6c1b292f978..e96c79dd26a219843d6343fb7d789aa63ae1cad5 100644 (file)
@@ -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