video: fbdev: vesafb: modify the static fb_ops directly
authorJani Nikula <jani.nikula@intel.com>
Fri, 29 Nov 2019 10:29:35 +0000 (12:29 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 3 Dec 2019 09:11:24 +0000 (11:11 +0200)
commit80b2976efa865941831459b50ca333701e2a7d29
tree5d6d17cd2b0d828bfa31ae4de4013ce9636a1bf9
parentf1844af349c730b159dd78cc76da2978c49fafd0
video: fbdev: vesafb: modify the static fb_ops directly

Avoid modifying the fb_ops via info->fbops to let us make the pointer
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/9e34c1d9a81690cbd75af7969fc4baf60a64b13f.1575022735.git.jani.nikula@intel.com
drivers/video/fbdev/vesafb.c