]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: make fbops member of struct fb_info a const pointer
authorJani Nikula <jani.nikula@intel.com>
Tue, 3 Dec 2019 16:38:47 +0000 (18:38 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 5 Dec 2019 08:57:36 +0000 (10:57 +0200)
commit4f3aede5d1dc6ec40954fd9b0c8e6914c494c016
tree618afa66587fe96064e49dc161aebb109e35810b
parent536937510c3f4c22a0832116e3ad903eff45a5c8
video: fbdev: make fbops member of struct fb_info a const pointer

Now that we no longer modify the fbops, or hold non-const pointers to
it, we can make it const. After this, we can start making the fbops
const all over the place.

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/700c6b52c39c6e7babaa921f583eac354714d9fc.1575390740.git.jani.nikula@intel.com
include/linux/fb.h