# 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 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2023/11/9242608
- Thread: https://ratatoskr.run/linux-fbdev/2023/11/9242578/t.md

```text
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: <redacted>
> 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>
```
