* This driver does not make use of interrupts, other than to figure
* out the number of GPIO banks
*/
* This driver does not make use of interrupts, other than to figure
* out the number of GPIO banks
*/
- if (!fdt_getprop(gd->fdt_blob, parent->of_offset, "interrupts", &len))
+ if (!fdt_getprop(gd->fdt_blob, dev_of_offset(parent), "interrupts",
+ &len))
plat->port_name, plat, -1, &dev);
if (ret)
return ret;
plat->port_name, plat, -1, &dev);
if (ret)
return ret;