--- zzzz-none-000/linux-4.4.60/drivers/gpio/gpio-xilinx.c 2017-04-08 07:53:53.000000000 +0000 +++ hawkeye-5590-729/linux-4.4.60/drivers/gpio/gpio-xilinx.c 2022-03-30 14:21:52.000000000 +0000 @@ -305,7 +305,7 @@ } chip->mmchip.gc.ngpio = chip->gpio_width[0] + chip->gpio_width[1]; - chip->mmchip.gc.dev = &pdev->dev; + chip->mmchip.gc.parent = &pdev->dev; chip->mmchip.gc.direction_input = xgpio_dir_in; chip->mmchip.gc.direction_output = xgpio_dir_out; chip->mmchip.gc.get = xgpio_get;