Skip to content

Commit 9ad1a29

Browse files
emuslnmstsirkin
authored andcommitted
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: a16291b ("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>
1 parent 55c91fe commit 9ad1a29

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/vdpa/pds/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ obj-$(CONFIG_PDS_VDPA) := pds_vdpa.o
55

66
pds_vdpa-y := aux_drv.o \
77
cmds.o \
8+
debugfs.o \
89
vdpa_dev.o
9-
10-
pds_vdpa-$(CONFIG_DEBUG_FS) += debugfs.o

0 commit comments

Comments
 (0)