]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/input/tegra-kbc.c
dm: core: Replace of_offset with accessor
[people/ms/u-boot.git] / drivers / input / tegra-kbc.c
index c77f6107696281f89c85986efcd95d62b4a37f41..d36f1a1dfa174909cfdab68d58e0e2424e131f28 100644 (file)
@@ -290,7 +290,7 @@ static int tegra_kbd_probe(struct udevice *dev)
        struct keyboard_priv *uc_priv = dev_get_uclass_priv(dev);
        struct stdio_dev *sdev = &uc_priv->sdev;
        struct input_config *input = &uc_priv->input;
-       int node = dev->of_offset;
+       int node = dev_of_offset(dev);
        int ret;
 
        priv->kbc = (struct kbc_tegra *)dev_get_addr(dev);