瀏覽代碼

virtio_pci: drop virtio_config dependency

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>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Michael S. Tsirkin 10 年之前
父節點
當前提交
7f870c81a0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/uapi/linux/virtio_pci.h

+ 1 - 1
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