drm: constify fb ops across all drivers

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

Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/59b43629ac60031c5bbf961d8c49695019bc9c6f.1575390740.git.jani.nikula@intel.com
This commit is contained in:
Jani Nikula
2019-12-03 18:38:48 +02:00
parent bf9e25ec12
commit b6ff753a0c
13 changed files with 14 additions and 14 deletions

View File

@@ -624,7 +624,7 @@ out_unlock:
}
static struct fb_ops vmw_fb_ops = {
static const struct fb_ops vmw_fb_ops = {
.owner = THIS_MODULE,
.fb_check_var = vmw_fb_check_var,
.fb_set_par = vmw_fb_set_par,