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

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


[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