staging: rtl8712: remove typedefs
[cascardo/linux.git] / drivers / gpio / gpio-max732x.c
index aed4ca9..7d3c90e 100644 (file)
@@ -603,6 +603,7 @@ static int max732x_setup_gpio(struct max732x_chip *chip,
        gc->base = gpio_start;
        gc->ngpio = port;
        gc->label = chip->client->name;
+       gc->dev = &chip->client->dev;
        gc->owner = THIS_MODULE;
 
        return port;