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:
parent
39cfe193f3
commit
7f81878b04
|
|
@ -1,2 +1,10 @@
|
||||||
#ifndef LINUX_DEVICE_H
|
#ifndef LINUX_DEVICE_H
|
||||||
|
|
||||||
|
struct device {
|
||||||
|
void *parent;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct device_driver {
|
||||||
|
const char *name;
|
||||||
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue