summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/intelfb
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2019-12-03 18:38:49 +0200
committerJani Nikula <jani.nikula@intel.com>2019-12-05 10:57:48 +0200
commit28318ac1742ab17eb8ba1c1be0dea4cc14b5b2ea (patch)
tree2d1583ebfa7a7930450d5f77b10b44a903d73d0d /drivers/video/fbdev/intelfb
parentb6ff753a0ca0d209a71a6aa53ac38c53c540f2ee (diff)
video: fbdev: intelfb: use const pointer for fb_ops
Use const for fb_ops to let us make the fbops struct const in the future. Cc: linux-fbdev@vger.kernel.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/171c573bc2977a6ec374753ac7bb03a3523ca2b7.1575390740.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/video/fbdev/intelfb')
-rw-r--r--drivers/video/fbdev/intelfb/intelfb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/intelfb/intelfb.h b/drivers/video/fbdev/intelfb/intelfb.h
index b54db05f028d..5de703902a21 100644
--- a/drivers/video/fbdev/intelfb/intelfb.h
+++ b/drivers/video/fbdev/intelfb/intelfb.h
@@ -273,7 +273,7 @@ struct intelfb_vsync {
struct intelfb_info {
struct fb_info *info;
- struct fb_ops *fbops;
+ const struct fb_ops *fbops;
struct pci_dev *pdev;
struct intelfb_hwstate save_state;