summaryrefslogtreecommitdiff
path: root/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/muxes/i2c-arb-gpio-challenge.c')
-rw-r--r--drivers/i2c/muxes/i2c-arb-gpio-challenge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
index 3f072c78b8..66ce7ecc9c 100644
--- a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
+++ b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
@@ -89,7 +89,7 @@ static int i2c_arbitrator_probe(struct udevice *dev)
{
struct i2c_arbitrator_priv *priv = dev_get_priv(dev);
const void *blob = gd->fdt_blob;
- int node = dev->of_offset;
+ int node = dev_of_offset(dev);
int ret;
debug("%s: %s\n", __func__, dev->name);