summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorWanlong Gao <gaowanlong@cn.fujitsu.com>2012-12-10 12:38:33 +0400
committerRusty Russell <rusty@rustcorp.com.au>2012-12-18 08:50:43 +0400
commit9a2bdcc85d28506d4e5d4a9618fb133a3f40945d (patch)
treeac571e092d7542a5c5121d25b5f8f02cdfbb7a41 /drivers/char
parent9bffdca8c64a72ac54c47a552734ab457bc720d4 (diff)
downloadlinux-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