virtio_config: introduce size-based accessors.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 07:41:51 +0000 (18:11 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Oct 2013 00:25:36 +0000 (10:55 +1030)
commit0b90d0622ad290b3717a13489b396af52aea9d2d
treeb40dcc4d3ac3fb9d7c34381e82523b7e6cd8a0fa
parentbb478d8b167cf875565ac7d927ffbdc0b6d280e8
virtio_config: introduce size-based accessors.

This lets the us do endian conversion if necessary, and insulates the
drivers from that change.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/virtio_config.h