mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 07:35:36 -05: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:
@@ -1,2 +1,10 @@
|
|||||||
#ifndef LINUX_DEVICE_H
|
#ifndef LINUX_DEVICE_H
|
||||||
|
|
||||||
|
struct device {
|
||||||
|
void *parent;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct device_driver {
|
||||||
|
const char *name;
|
||||||
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user