]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/i2c.h
bootstage: Require timer_get_boot_us() to be defined
[people/ms/u-boot.git] / include / i2c.h
index 2c1643d65067d3400bbf81a0a0b24ae63fc7b32a..7726028044e32c4d2ebeb949283c4564d8cbd0ee 100644 (file)
@@ -525,8 +525,7 @@ int i2c_get_chip_for_busnum(int busnum, int chip_addr, uint offset_len,
  * @node:      Node offset to read from
  * @spi:       Place to put the decoded information
  */
-int i2c_chip_ofdata_to_platdata(const void *blob, int node,
-                               struct dm_i2c_chip *chip);
+int i2c_chip_ofdata_to_platdata(struct udevice *dev, struct dm_i2c_chip *chip);
 
 /**
  * i2c_dump_msgs() - Dump a list of I2C messages