bus/dpaa: support hotplug ops
authorShreyansh Jain <shreyansh.jain@nxp.com>
Tue, 25 Jun 2019 10:40:17 +0000 (16:10 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 7 Jul 2019 21:09:31 +0000 (23:09 +0200)
commite79df833d3f641761368452536668496b83f3034
treeab8ccae7eea1e18dcceb57d79ca531e4ef7c5ccf
parent1cfd1559b2b94bb69adb775498a9fd03e11e7510
bus/dpaa: support hotplug ops

Parse and find_device have specific function - former is for parsing a
string passed as argument, whereas the later is for iterating over all
the devices in the bus and calling a callback/handler. They have been
corrected with their right operations to support hotplugging/devargs
plug/unplug calls.

Support for plug/unplug too has been added.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/dpaa/dpaa_bus.c
drivers/bus/dpaa/rte_dpaa_bus.h