virtio: make config_ops const
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 10 Feb 2013 05:27:38 +0000 (15:57 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 11 Feb 2013 05:02:17 +0000 (15:32 +1030)
commit9350393239153c4a98cbed4d69b9ed81e37d5e74
tree180ddb2f2968721c52ed9b5917378aff00c7b7f6
parent0d34cc2d6d904e2d0160e42734bccc1cb391cec0
virtio: make config_ops const

It is just a table of function pointers, make it const for cleanliness and security
reasons.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/lguest_device.c
drivers/remoteproc/remoteproc_virtio.c
drivers/s390/kvm/kvm_virtio.c
drivers/virtio/virtio_mmio.c
drivers/virtio/virtio_pci.c
include/linux/virtio.h