video: fbdev: nvidia: modify the static fb_ops directly
authorJani Nikula <jani.nikula@intel.com>
Tue, 3 Dec 2019 16:38:45 +0000 (18:38 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 5 Dec 2019 08:57:27 +0000 (10:57 +0200)
commit9567a03e19d264a4a033963981cd7d1339ccd3c7
treebdbb8b6a37429f5706f9c6b454c0ecd9b60ed48c
parentc63c35dea3cba05201d37fe42e4fb8a9e4a070f2
video: fbdev: nvidia: 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/9639e2305fd4d03311bf909b8914277b221ca582.1575390740.git.jani.nikula@intel.com
drivers/video/fbdev/nvidia/nvidia.c