devinfo_init_resources
if ((error = devinfo_init_resources(ubus.ub_generation)) != 0) {
static int devinfo_init_resources(int generation);