diff options
author | Wanlong Gao <gaowanlong@cn.fujitsu.com> | 2012-12-10 12:38:33 +0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-12-18 08:50:43 +0400 |
commit | 9a2bdcc85d28506d4e5d4a9618fb133a3f40945d (patch) | |
tree | ac571e092d7542a5c5121d25b5f8f02cdfbb7a41 /drivers/char | |
parent | 9bffdca8c64a72ac54c47a552734ab457bc720d4 (diff) | |
download | linux-9a2bdcc85d28506d4e5d4a9618fb133a3f40945d.tar.xz |
virtio: add drv_to_virtio to make code clearly
Add drv_to_virtio wrapper to get virtio_driver from device_driver.
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions