Commit 506fa33b authored by Federico Vaga's avatar Federico Vaga

drv:gn412x_gpio: add parent device

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 7b3d1da4
......@@ -111,6 +111,7 @@ int gn412x_gpio_init(struct gn412x_dev *gn412x)
int err;
memset(&gn412x->gpiochip, 0, sizeof(gn412x->gpiochip));
gn412x->gpiochip.dev = parent;
gn412x->gpiochip.label = "gn412x-gpio";
gn412x->gpiochip.owner = THIS_MODULE;
gn412x->gpiochip.request = gn412x_gpio_request;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment