[PATCH 2/5] drm/xe: make heci_gsc_irq_chip const

Thomas Hellström thomas.hellstrom at linux.intel.com
Wed Jan 17 12:37:25 UTC 2024


On Wed, 2024-01-17 at 14:20 +0200, Jani Nikula wrote:
> The irq_chip definition can be const, make it so.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>

> ---
>  drivers/gpu/drm/xe/xe_heci_gsc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_heci_gsc.c
> b/drivers/gpu/drm/xe/xe_heci_gsc.c
> index bfdd33b9b23b..1c9d38b6f5f1 100644
> --- a/drivers/gpu/drm/xe/xe_heci_gsc.c
> +++ b/drivers/gpu/drm/xe/xe_heci_gsc.c
> @@ -29,7 +29,7 @@ static void heci_gsc_irq_unmask(struct irq_data *d)
>  	/* generic irq handling */
>  }
>  
> -static struct irq_chip heci_gsc_irq_chip = {
> +static const struct irq_chip heci_gsc_irq_chip = {
>  	.name = "gsc_irq_chip",
>  	.irq_mask = heci_gsc_irq_mask,
>  	.irq_unmask = heci_gsc_irq_unmask,



More information about the Intel-xe mailing list