media: constify fb ops across all drivers
authorJani Nikula <jani.nikula@intel.com>
Tue, 3 Dec 2019 16:38:52 +0000 (18:38 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 13 Dec 2019 10:29:25 +0000 (12:29 +0200)
commit75d18496cf92f2bde86e0fdf103e4fb7423a3e55
tree43eafe5a2932c0d05b7111ef82e36a889c61b04b
parent17cfcb68af3bc7d5e8ae08779b1853310a2949f3
media: 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.

Remove the redundant fbops assignments while at it.

v2:
- actually add const in vivid
- fix typo (Christophe de Dinechin)

Cc: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Andy Walls <awalls@md.metrocast.net>
Cc: linux-media@vger.kernel.org
Cc: ivtv-devel@ivtvdriver.org
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/71794337f8611271f2c1fdb3882119a58e743a87.1575390741.git.jani.nikula@intel.com
drivers/media/pci/ivtv/ivtvfb.c
drivers/media/platform/vivid/vivid-osd.c