samples: vfio-mdev: constify fb ops
authorJani Nikula <jani.nikula@intel.com>
Tue, 3 Dec 2019 16:38:53 +0000 (18:38 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 10 Dec 2019 06:52:15 +0000 (08:52 +0200)
commitb0077e521c8af7761404ae772a328e5f0bf15094
tree97fc47373dab4111bd1742cb8d68f2c1c44416ec
parent11f39d526ca14d54c24c87c02bca7dc6f0def151
samples: vfio-mdev: constify fb ops

Now that the fbops member of struct fb_info is const, we can start
making the ops const as well.

v2: fix typo (Christophe de Dinechin)

Cc: Kirti Wankhede <kwankhede@nvidia.com>
Cc: kvm@vger.kernel.org
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ddb10df1316ef585930cda7718643a580f4fe37b.1575390741.git.jani.nikula@intel.com
samples/vfio-mdev/mdpy-fb.c