diff options
author | Jani Nikula <jani.nikula@intel.com> | 2019-12-03 17:38:48 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2019-12-05 09:57:42 +0100 |
commit | b6ff753a0ca0d209a71a6aa53ac38c53c540f2ee (patch) | |
tree | 80d215768981b54913afc29250e6d3cf6111a533 /drivers/gpu/drm/hisilicon/hibmc | |
parent | video: fbdev: make fbops member of struct fb_info a const pointer (diff) | |
download | linux-b6ff753a0ca0d209a71a6aa53ac38c53c540f2ee.tar.xz linux-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/hisilicon/hibmc')
-rw-r--r-- | drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c index b4c1cea051e8..1d15560ccb6e 100644 --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c @@ -38,7 +38,7 @@ static int hibmcfb_create_object( return ret; } -static struct fb_ops hibmc_drm_fb_ops = { +static const struct fb_ops hibmc_drm_fb_ops = { .owner = THIS_MODULE, .fb_check_var = drm_fb_helper_check_var, .fb_set_par = drm_fb_helper_set_par, |