public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vdpa: fix build dependency of VIRTIO_PCI_LIB
@ 2021-03-12  9:36 Jason Wang
  2021-03-12 17:24 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Wang @ 2021-03-12  9:36 UTC (permalink / raw)
  To: jasowang, mst; +Cc: linux-kernel, Randy Dunlap

The modern PCI device module should be built independently without
VIRTIO. This patch fixes this.

Fixes: 7075992ba8873(“vdpa: introduce virtio pci driver")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
 drivers/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/Makefile b/drivers/Makefile
index fd11b9ac4cc3..911ee117def4 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -42,6 +42,7 @@ obj-$(CONFIG_DMADEVICES)	+= dma/
 obj-y				+= soc/
 
 obj-$(CONFIG_VIRTIO)		+= virtio/
+obj-$(CONFIG_VIRTIO_PCI_LIB)	+= virtio/
 obj-$(CONFIG_VDPA)		+= vdpa/
 obj-$(CONFIG_XEN)		+= xen/
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-12 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-12  9:36 [PATCH] vdpa: fix build dependency of VIRTIO_PCI_LIB Jason Wang
2021-03-12 17:24 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox