Follow r349460 to complete removing "flags" in struct gpiobus_ivar
MFC with: r349460 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
94e8f7c65f
commit
404e646960
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349472
@ -321,10 +321,8 @@ ofw_gpiobus_setup_devinfo(device_t bus, device_t child, phandle_t node)
|
|||||||
ofw_gpiobus_destroy_devinfo(bus, dinfo);
|
ofw_gpiobus_destroy_devinfo(bus, dinfo);
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
for (i = 0; i < devi->npins; i++) {
|
for (i = 0; i < devi->npins; i++)
|
||||||
devi->flags[i] = pins[i].flags;
|
|
||||||
devi->pins[i] = pins[i].pin;
|
devi->pins[i] = pins[i].pin;
|
||||||
}
|
|
||||||
free(pins, M_DEVBUF);
|
free(pins, M_DEVBUF);
|
||||||
/* Parse the interrupt resources. */
|
/* Parse the interrupt resources. */
|
||||||
if (ofw_bus_intr_to_rl(bus, node, &dinfo->opd_dinfo.rl, NULL) != 0) {
|
if (ofw_bus_intr_to_rl(bus, node, &dinfo->opd_dinfo.rl, NULL) != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user