Add drv_to_virtio wrapper to get virtio_driver from device_driver.
Cc: Rusty Russell ru...@rustcorp.com.au
Cc: Michael S. Tsirkin m...@redhat.com
Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com
---
drivers/virtio/virtio.c | 11 ---
include/linux/virtio.h | 5 +
2 files
Wanlong Gao gaowanl...@cn.fujitsu.com writes:
Add drv_to_virtio wrapper to get virtio_driver from device_driver.
Cc: Rusty Russell ru...@rustcorp.com.au
Cc: Michael S. Tsirkin m...@redhat.com
Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com
Thanks, both applied.
Cheers,
Rusty.