--- zzzz-none-000/linux-4.4.271/drivers/tty/serial/max310x.c 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/drivers/tty/serial/max310x.c 2023-04-19 10:22:29.000000000 +0000 @@ -1182,7 +1182,7 @@ #ifdef CONFIG_GPIOLIB /* Setup GPIO cotroller */ s->gpio.owner = THIS_MODULE; - s->gpio.dev = dev; + s->gpio.parent = dev; s->gpio.label = dev_name(dev); s->gpio.direction_input = max310x_gpio_direction_input; s->gpio.get = max310x_gpio_get;