summaryrefslogtreecommitdiff
path: root/drivers/bus/fsl-mc/Makefile
diff options
context:
space:
mode:
authorDiana Craciun <diana.craciun@oss.nxp.com>2021-09-22 14:05:29 +0300
committerAlex Williamson <alex.williamson@redhat.com>2021-09-28 16:56:05 -0600
commitfec2432c9a7370788faab416b38589ac9f4350e5 (patch)
treee1907c7fd1ca855fa09c0a7c3adb997afef2d58e /drivers/bus/fsl-mc/Makefile
parent5816b3e6577eaa676ceb00a848f0fd65fe2adc29 (diff)
bus/fsl-mc: Add generic implementation for open/reset/close commands
The open/reset/close commands format is similar for all objects. Currently there are multiple implementations for these commands scattered through various drivers. The code is cavsi-identical. Create a generic implementation for the open/reset/close commands. One of the consumer will be the VFIO driver which needs to be able to reset a device. Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com> Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Link: https://lore.kernel.org/r/20210922110530.24736-1-diana.craciun@oss.nxp.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/bus/fsl-mc/Makefile')
-rw-r--r--drivers/bus/fsl-mc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bus/fsl-mc/Makefile b/drivers/bus/fsl-mc/Makefile
index 4ae292a30e53..892946245527 100644
--- a/drivers/bus/fsl-mc/Makefile
+++ b/drivers/bus/fsl-mc/Makefile
@@ -15,7 +15,8 @@ mc-bus-driver-objs := fsl-mc-bus.o \
dprc-driver.o \
fsl-mc-allocator.o \
fsl-mc-msi.o \
- dpmcp.o
+ dpmcp.o \
+ obj-api.o
# MC userspace support
obj-$(CONFIG_FSL_MC_UAPI_SUPPORT) += fsl-mc-uapi.o