RE: [PATCH] gpio: zynq: fix zynqmp_gpio not an immutable chip warning

From: Datta, Shubhrajyoti
Date: Mon Apr 24 2023 - 00:55:44 EST


[AMD Official Use Only - General]

> -----Original Message-----
> From: Datta, Shubhrajyoti <shubhrajyoti.datta@xxxxxxx>
> Sent: Monday, April 24, 2023 10:23 AM
> To: michal.simek@xxxxxxxxxx; Simek, Michal <michal.simek@xxxxxxx>; git
> (AMD-Xilinx) <git@xxxxxxx>; shubhrajyoti.datta@xxxxxxxxxx;
> srinivas.neeli@xxxxxxxxxx; linus.walleij@xxxxxxxxxx; brgl@xxxxxxxx; inux-
> gpio@xxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Cc: Goud, Srinivas <srinivas.goud@xxxxxxx>; manion05gk@xxxxxxxxx;
> Guntupalli, Manikanta <manikanta.guntupalli@xxxxxxx>
> Subject: RE: [PATCH] gpio: zynq: fix zynqmp_gpio not an immutable chip
> warning
>
> [AMD Official Use Only - General]
>
> > From: Manikanta Guntupalli <manikanta.guntupalli@xxxxxxx>
> > Date: Wed, Apr 12, 2023 at 8:22 PM
> > Subject: [PATCH] gpio: zynq: fix zynqmp_gpio not an immutable chip
> > warning
> > To: <michal.simek@xxxxxxxxxx>, <michal.simek@xxxxxxx>,
> <git@xxxxxxx>,
> > <shubhrajyoti.datta@xxxxxxxxxx>, <srinivas.neeli@xxxxxxxxxx>,
> > <linus.walleij@xxxxxxxxxx>, <brgl@xxxxxxxx>,
> > <linux-gpio@xxxxxxxxxxxxxxx>, <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>,
> > <linux-kernel@xxxxxxxxxxxxxxx>
> > Cc: <srinivas.goud@xxxxxxx>, <manion05gk@xxxxxxxxx>, Manikanta
> > Guntupalli <manikanta.guntupalli@xxxxxxx>
> >
> >
> > Make the struct irq_chip const and flag it as IRQCHIP_IMMUTABLE to fix
> > "gpio gpiochip1: (zynqmp_gpio): not an immutable chip" warning.
> >
> > Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@xxxxxxx>

Reviewed-by: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxx>