mirror of
https://github.com/torvalds/linux.git
synced 2026-03-07 23:04:33 +01: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:
parent
39cfe193f3
commit
7f81878b04
1 changed files with 8 additions and 0 deletions
|
|
@ -1,2 +1,10 @@
|
|||
#ifndef LINUX_DEVICE_H
|
||||
|
||||
struct device {
|
||||
void *parent;
|
||||
};
|
||||
|
||||
struct device_driver {
|
||||
const char *name;
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue