summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/omap
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2019-11-29 13:29:37 +0300
committerJani Nikula <jani.nikula@intel.com>2019-12-03 12:11:44 +0300
commite67efd45d6529be2e1a0c1a2c740420c7adeee32 (patch)
tree97d6993a2ce4fd4c94f3017fd1482975f8036598 /drivers/video/fbdev/omap
parentf23c57e290774cd4f721801061345d351b9b601f (diff)
downloadlinux-e67efd45d6529be2e1a0c1a2c740420c7adeee32.tar.xz
video: omapfb: use const pointer for fb_ops
Use const for fb_ops to let us make the info->fbops pointer const in the future. Cc: linux-fbdev@vger.kernel.org Cc: linux-omap@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/dfa4376e219ffeef9175993eaff91b5fe7ecccab.1575022735.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/video/fbdev/omap')
-rw-r--r--drivers/video/fbdev/omap/omapfb_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap/omapfb_main.c b/drivers/video/fbdev/omap/omapfb_main.c
index 702cca59bda1..e8a304f84ea8 100644
--- a/drivers/video/fbdev/omap/omapfb_main.c
+++ b/drivers/video/fbdev/omap/omapfb_main.c
@@ -1052,7 +1052,7 @@ static int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd,
{
struct omapfb_plane_struct *plane = fbi->par;
struct omapfb_device *fbdev = plane->fbdev;
- struct fb_ops *ops = fbi->fbops;
+ const struct fb_ops *ops = fbi->fbops;
union {
struct omapfb_update_window update_window;
struct omapfb_plane_info plane_info;