Re: [Intel-gfx] [PATCH v2 10/14] video: constify fb ops across all drivers
From: Jani Nikula <hidden>
Date: 2019-11-29 10:35:24
Also in:
dri-devel, intel-gfx
From: Jani Nikula <hidden>
Date: 2019-11-29 10:35:24
Also in:
dri-devel, intel-gfx
On Fri, 29 Nov 2019, Jani Nikula [off-list ref] wrote:
Now that the fbops member of struct fb_info is const, we can start making the ops const as well. This does not cover all drivers; some actually modify the fbops struct, for example to adjust for different configurations, and others do more involved things that I'd rather not touch in practically obsolete drivers. Mostly this is the low hanging fruit where we can add "const" and be done with it. v2: - fix typo (Christophe de Dinechin) - use "static const" instead of "const static" in mx3fb.c - also constify smscufx.c Cc: linux-fbdev@vger.kernel.org Reviewed-by: Daniel Vetter <redacted> Signed-off-by: Jani Nikula <redacted> fixup to video drivers
Rebase artefact, to be removed before applying... BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center