linux-stable/include/linux/fsl
Diana Craciun 5d781fabe6 bus/fsl-mc: Export dprc_scan/dprc_remove functions to be used by multiple entities
Currently the DPRC scan function is used only by the bus driver.
But the same functionality will be needed by the VFIO driver.
To support this, the dprc scan function was exported and a little
bit adjusted to fit both scenarios. Also the scan mutex initialization
is done when the bus object is created, not in dprc_probe in order
to be used by both VFIO and bus driver.
Similarily dprc_remove_devices is exported to be used by VFIO.

Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Link: https://lore.kernel.org/r/20200929085441.17448-8-diana.craciun@oss.nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-02 16:05:01 +02:00
..
bestcomm treewide: Replace zero-length array with flexible-array 2020-05-22 16:19:31 -05:00
edac.h
enetc_mdio.h net: dsa: felix: support half-duplex link modes 2020-07-05 15:25:58 -07:00
ftm.h include/fsl: add common FlexTimer #defines in a separate header. 2019-04-25 21:33:41 +02:00
guts.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mc.h bus/fsl-mc: Export dprc_scan/dprc_remove functions to be used by multiple entities 2020-10-02 16:05:01 +02:00
ptp_qoriq.h ptp_qoriq: output PPS signal on FIPER2 in default 2020-04-30 20:25:37 -07:00