1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-11 17:10:13 +00:00

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>
This commit is contained in:
Michael S. Tsirkin 2025-12-04 13:37:07 -05:00
parent 39cfe193f3
commit 7f81878b04

View File

@ -1,2 +1,10 @@
#ifndef LINUX_DEVICE_H #ifndef LINUX_DEVICE_H
struct device {
void *parent;
};
struct device_driver {
const char *name;
};
#endif #endif