Commit 28318ac1 authored by Jani Nikula's avatar Jani Nikula
Browse files

video: fbdev: intelfb: use const pointer for fb_ops



Use const for fb_ops to let us make the fbops struct const in the
future.

Cc: linux-fbdev@vger.kernel.org
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/171c573bc2977a6ec374753ac7bb03a3523ca2b7.1575390740.git.jani.nikula@intel.com
parent b6ff753a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -273,7 +273,7 @@ struct intelfb_vsync {

struct intelfb_info {
	struct fb_info *info;
	struct fb_ops  *fbops;
	const struct fb_ops *fbops;
	struct pci_dev *pdev;

	struct intelfb_hwstate save_state;