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

Datta, Shubhrajyoti shubhrajyoti.datta at amd.com
Sun Apr 23 21:55:34 PDT 2023


[AMD Official Use Only - General]

> -----Original Message-----
> From: Datta, Shubhrajyoti <shubhrajyoti.datta at amd.com>
> Sent: Monday, April 24, 2023 10:23 AM
> To: michal.simek at xilinx.com; Simek, Michal <michal.simek at amd.com>; git
> (AMD-Xilinx) <git at amd.com>; shubhrajyoti.datta at xilinx.com;
> srinivas.neeli at xilinx.com; linus.walleij at linaro.org; brgl at bgdev.pl; inux-
> gpio at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-
> kernel at vger.kernel.org
> Cc: Goud, Srinivas <srinivas.goud at amd.com>; manion05gk at gmail.com;
> Guntupalli, Manikanta <manikanta.guntupalli at amd.com>
> Subject: RE: [PATCH] gpio: zynq: fix zynqmp_gpio not an immutable chip
> warning
>
> [AMD Official Use Only - General]
>
> > From: Manikanta Guntupalli <manikanta.guntupalli at amd.com>
> > Date: Wed, Apr 12, 2023 at 8:22 PM
> > Subject: [PATCH] gpio: zynq: fix zynqmp_gpio not an immutable chip
> > warning
> > To: <michal.simek at xilinx.com>, <michal.simek at amd.com>,
> <git at amd.com>,
> > <shubhrajyoti.datta at xilinx.com>, <srinivas.neeli at xilinx.com>,
> > <linus.walleij at linaro.org>, <brgl at bgdev.pl>,
> > <linux-gpio at vger.kernel.org>, <linux-arm-kernel at lists.infradead.org>,
> > <linux-kernel at vger.kernel.org>
> > Cc: <srinivas.goud at amd.com>, <manion05gk at gmail.com>, Manikanta
> > Guntupalli <manikanta.guntupalli at amd.com>
> >
> >
> > 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 at amd.com>

Reviewed-by: Shubhrajyoti Datta <shubhrajyoti.datta at amd.com>


More information about the linux-arm-kernel mailing list