> From: Marek Vasut <[email protected]>
> Date: Fri,  8 May 2026 00:06:28 +0200
> 
> Set the ops structure as static const. The structure is not accessible
> from outside of this driver and is not going to be modified at runtime.
> 
> Signed-off-by: Marek Vasut <[email protected]>

Acked-by: Mark Kettenis <[email protected]>

> ---
> Cc: Tom Rini <[email protected]>
> Cc: [email protected]
> ---
>  drivers/mailbox/apple-mbox.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mailbox/apple-mbox.c b/drivers/mailbox/apple-mbox.c
> index 2ee49734f40..39a7edc0285 100644
> --- a/drivers/mailbox/apple-mbox.c
> +++ b/drivers/mailbox/apple-mbox.c
> @@ -59,7 +59,7 @@ static int apple_mbox_recv(struct mbox_chan *chan, void 
> *data)
>       return 0;
>  }
>  
> -struct mbox_ops apple_mbox_ops = {
> +static const struct mbox_ops apple_mbox_ops = {
>       .of_xlate = apple_mbox_of_xlate,
>       .send = apple_mbox_send,
>       .recv = apple_mbox_recv,
> -- 
> 2.53.0
> 
> 

Reply via email to