OSDN Git Service

video: fbdev: atyfb: modify the static fb_ops directly
authorJani Nikula <jani.nikula@intel.com>
Tue, 3 Dec 2019 16:38:43 +0000 (18:38 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 5 Dec 2019 08:56:58 +0000 (10:56 +0200)
commitf4e97477bece94a1e07402c899e65676153dff73
tree802e1c954dbe8e7f01ed003e33dec7b39a5fcd9c
parent284562e1f34874e267d4f499362c3816f8f6bc3f
video: fbdev: atyfb: 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/7dfbf1d47203157f5eb9a6f447f0095765d0b5e6.1575390740.git.jani.nikula@intel.com
drivers/video/fbdev/aty/atyfb.h
drivers/video/fbdev/aty/atyfb_base.c
drivers/video/fbdev/aty/mach64_cursor.c