--- zzzz-none-000/linux-4.4.60/drivers/tty/serial/max310x.c 2017-04-08 07:53:53.000000000 +0000 +++ hawkeye-5590-729/linux-4.4.60/drivers/tty/serial/max310x.c 2022-03-30 14:21:52.000000000 +0000 @@ -1174,7 +1174,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;