Re: [PATCH v2 25/32] staging/sm750fb: Declare fb_ops as constant
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2023-11-27 13:54:14
Also in:
dri-devel, linux-staging
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2023-11-27 13:54:14
Also in:
dri-devel, linux-staging
On Mon, Nov 27, 2023 at 02:15:54PM +0100, Thomas Zimmermann wrote:
Split up lynxfb_ops and declare each as constant. The fb_ops instance used to be modified while initializing the driver. It is now constant and the driver picks the correct instance, depending on the settings for acceleration and cursor support. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Cc: Teddy Wang <teddy.wang@siliconmotion.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-staging@lists.linux.dev Acked-by: Javier Martinez Canillas <javierm@redhat.com> --- drivers/staging/sm750fb/sm750.c | 59 +++++++++++++++++++++++++++------ 1 file changed, 49 insertions(+), 10 deletions(-)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>