]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/cpu/irq.c
dm: core: Replace of_offset with accessor
[u-boot] / arch / x86 / cpu / irq.c
index d2901de6d5888bf943fd03cf891ae204b0195834..f5654eb510d5888b2ae8f077a446fbfbb8817cee 100644 (file)
@@ -96,7 +96,7 @@ static int create_pirq_routing_table(struct udevice *dev)
        int i;
        int ret;
 
-       node = dev->of_offset;
+       node = dev_of_offset(dev);
 
        /* extract the bdf from fdt_pci_addr */
        priv->bdf = dm_pci_get_bdf(dev->parent);