X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fremoteproc%2Fti_power_proc.c;h=f9660d451137ce6cea5596f8d2c37f8be84f8092;hb=6696de885eaf1fa6c2104ce70216abbc87d4fd43;hp=76ac3be092e2567642316221326fd1f86b2502c2;hpb=88033d737d9f46e7eebda6a8f9770957eb9aae9c;p=u-boot diff --git a/drivers/remoteproc/ti_power_proc.c b/drivers/remoteproc/ti_power_proc.c index 76ac3be092..f9660d4511 100644 --- a/drivers/remoteproc/ti_power_proc.c +++ b/drivers/remoteproc/ti_power_proc.c @@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2015-2016 * Texas Instruments Incorporated - http://www.ti.com/ - * SPDX-License-Identifier: GPL-2.0+ */ #define pr_fmt(fmt) "%s: " fmt, __func__ #include @@ -33,7 +33,7 @@ struct ti_powerproc_privdata { static int ti_of_to_priv(struct udevice *dev, struct ti_powerproc_privdata *priv) { - int node = dev->of_offset; + int node = dev_of_offset(dev); const void *blob = gd->fdt_blob; int tmp;