]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/tty/serial/sc16is7xx.c
gpio: change member .dev to .parent
[mirror_ubuntu-bionic-kernel.git] / drivers / tty / serial / sc16is7xx.c
index edb5305b9d4da72e388452f66db9e65e40d15f18..cc86c348d8097875648784e1de99a078d6fb8671 100644 (file)
@@ -1180,7 +1180,7 @@ static int sc16is7xx_probe(struct device *dev,
        if (devtype->nr_gpio) {
                /* 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  = sc16is7xx_gpio_direction_input;
                s->gpio.get              = sc16is7xx_gpio_get;