From: Michael S. Tsirkin Date: Tue, 13 Jan 2015 14:34:58 +0000 (+0200) Subject: virtio_pci_modern: support devices with no config X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~45^2~63 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3f5f065603705cd4275d57324c49e391f786b5e;p=pandora-kernel.git virtio_pci_modern: support devices with no config Virtio 1.0 spec lists device config as optional. Set get/set callbacks to NULL. Drivers can check that and fail gracefully. Signed-off-by: Michael S. Tsirkin Signed-off-by: Rusty Russell --- Reading git-diff-tree failed