summaryrefslogtreecommitdiffstats
path: root/drivers/char/snsc.h
diff options
context:
space:
mode:
authorSasha Levin <levinsasha928@gmail.com>2011-08-14 17:52:31 +0300
committerRusty Russell <rusty@rustcorp.com.au>2011-11-02 11:40:58 +1030
commit51c6d61ac58844b5e3e0d28271084c06f6a15371 (patch)
treed98c755facff356cfcf1205c5e5315f23379c58e /drivers/char/snsc.h
parentb4beb4bf9934d151bf4581a54ae028927374cb2a (diff)
virtio-console: Use virtio_config_val() for retrieving config
This patch modifies virtio-console to use virtio_config_val() instead of a 'if(virtio_has_feature()) vdev->config->get()' construct to retrieve optional values from the config space. Cc: Amit Shah <amit.shah@redhat.com> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: virtualization@lists.linux-foundation.org Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/char/snsc.h')
0 files changed, 0 insertions, 0 deletions