# \[PATCH RFC v2 7/7\] virtio\_pci: drop virtio\_config dependency

- From: Michael S. Tsirkin \<mst@redhat.com\>
- Date: 2014-12-30 16:36:05 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2014/12/4401187
- Thread: https://ratatoskr.run/linux-api/2014/12/4401187/t.md

```text
virtio_pci does not depend on virtio_config:
let's not include it, users can pull it in as necessary.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 include/uapi/linux/virtio_pci.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/virtio_pci.h b/include/uapi/linux/virtio_pci.h
index 5d546c6..e841edd 100644
--- a/include/uapi/linux/virtio_pci.h
+++ b/include/uapi/linux/virtio_pci.h
@@ -39,7 +39,7 @@
 #ifndef _LINUX_VIRTIO_PCI_H
 #define _LINUX_VIRTIO_PCI_H
 
-#include <linux/virtio_config.h>
+#include <linux/types.h>
 
 #ifndef VIRTIO_PCI_NO_LEGACY
 
-- 
MST
```
