eal: add bus pointer in device structure
[dpdk.git] / drivers / bus / dpaa / dpaa_bus.c
index 49cd04d..138e0f9 100644 (file)
@@ -165,6 +165,8 @@ dpaa_create_device_list(void)
                        goto cleanup;
                }
 
+               dev->device.bus = &rte_dpaa_bus.bus;
+
                cfg = &dpaa_netcfg->port_cfg[i];
                fman_intf = cfg->fman_if;