Skip to content

Commit 7f81878

Browse files
committed
tools/virtio: add device, device_driver stubs
Add stubs needed by virtio.h Message-ID: <0fabf13f6ea812ebc73b1c919fb17d4dec1545db.1764873799.git.mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent 39cfe19 commit 7f81878

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tools/virtio/linux/device.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
#ifndef LINUX_DEVICE_H
2+
3+
struct device {
4+
void *parent;
5+
};
6+
7+
struct device_driver {
8+
const char *name;
9+
};
210
#endif

0 commit comments

Comments
 (0)