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