diff options
author | Jani Nikula <jani.nikula@intel.com> | 2019-12-03 18:38:48 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2019-12-05 10:57:42 +0200 |
commit | b6ff753a0ca0d209a71a6aa53ac38c53c540f2ee (patch) | |
tree | 80d215768981b54913afc29250e6d3cf6111a533 /drivers/gpu/drm/rockchip | |
parent | bf9e25ec12877a622857460c2f542a6c31393250 (diff) | |
download | lwn-b6ff753a0ca0d209a71a6aa53ac38c53c540f2ee.tar.gz lwn-b6ff753a0ca0d209a71a6aa53ac38c53c540f2ee.zip |
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
Diffstat (limited to 'drivers/gpu/drm/rockchip')
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c b/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c index 02be6c5ff857..521fe42ac5e2 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c @@ -27,7 +27,7 @@ static int rockchip_fbdev_mmap(struct fb_info *info, return rockchip_gem_mmap_buf(private->fbdev_bo, vma); } -static struct fb_ops rockchip_drm_fbdev_ops = { +static const struct fb_ops rockchip_drm_fbdev_ops = { .owner = THIS_MODULE, DRM_FB_HELPER_DEFAULT_OPS, .fb_mmap = rockchip_fbdev_mmap, |