Re: [PATCH v2 1/2] gpio: tps65219: add GPIO support for TPS65219 PMIC
From: andy . shevchenko
Date: Sat May 20 2023 - 05:44:39 EST
Mon, May 15, 2023 at 05:36:46PM +0200, Bartosz Golaszewski kirjoitti:
> On Thu, May 11, 2023 at 4:09 PM Jerome Neanne <jneanne@xxxxxxxxxxxx> wrote:
...
> > + gpio->gpio_chip = tps65219_gpio_chip;
>
> Aren't you getting any warnings here about dropping the 'const' from
> the global structure?
But this is a copy of the contents and not the simple pointer.
--
With Best Regards,
Andy Shevchenko