summaryrefslogtreecommitdiffstats
path: root/drivers/vdpa/pds
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@amd.com>2023-07-06 16:17:18 -0700
committerMichael S. Tsirkin <mst@redhat.com>2023-08-10 15:24:27 -0400
commit9ad1a29cb0991e3145996cdce691525e8ac65db7 (patch)
tree322e132f395740a36277ccaad5bdccf92fda6ba8 /drivers/vdpa/pds
parent55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a (diff)
downloadlinux-stable-9ad1a29cb0991e3145996cdce691525e8ac65db7.tar.gz
linux-stable-9ad1a29cb0991e3145996cdce691525e8ac65db7.tar.bz2
linux-stable-9ad1a29cb0991e3145996cdce691525e8ac65db7.zip
pds_vdpa: protect Makefile from unconfigured debugfs
debugfs.h protects itself from an undefined DEBUG_FS, so it is not necessary to check it in the driver code or the Makefile. The driver code had been updated for this, but the Makefile had missed the update. Link: https://lore.kernel.org/linux-next/fec68c3c-8249-7af4-5390-0495386a76f9@infradead.org/ Fixes: a16291b5bcbb ("pds_vdpa: Add new vDPA driver for AMD/Pensando DSC") Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Message-Id: <20230706231718.54198-1-shannon.nelson@amd.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/vdpa/pds')
-rw-r--r--drivers/vdpa/pds/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/vdpa/pds/Makefile b/drivers/vdpa/pds/Makefile
index 2e22418e3ab3..c2d314d4614d 100644
--- a/drivers/vdpa/pds/Makefile
+++ b/drivers/vdpa/pds/Makefile
@@ -5,6 +5,5 @@ obj-$(CONFIG_PDS_VDPA) := pds_vdpa.o
pds_vdpa-y := aux_drv.o \
cmds.o \
+ debugfs.o \
vdpa_dev.o
-
-pds_vdpa-$(CONFIG_DEBUG_FS) += debugfs.o