Skip to content
Snippets Groups Projects
Commit cc91bdf8 authored by Philipp Tomsich's avatar Philipp Tomsich
Browse files

rockchip: i2c: Convert to livetree


Update the Rockchip I2C driver to support livetree.

Signed-off-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: default avatarHeiko Schocher <hs@denx.de>
parent a904a16b
No related branches found
No related tags found
No related merge requests found
......@@ -382,7 +382,7 @@ static int rockchip_i2c_probe(struct udevice *bus)
{
struct rk_i2c *priv = dev_get_priv(bus);
priv->regs = (void *)devfdt_get_addr(bus);
priv->regs = dev_read_addr_ptr(bus);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment