commit | b8a3f52e9824841fb1a79de649fc3487f734bc9f | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Thu May 07 15:34:37 2015 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue May 12 13:23:24 2015 +0200 |
tree | c1053cf138b5bd68efde69e8e698e56c66b417fd | |
parent | 5b7d414ad025654516c59efd16b4a7f0d8017c1b [diff] |
gpio: xlp: Add missing .owner and .label settings for gpio_chip Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
diff --git a/drivers/gpio/gpio-xlp.c b/drivers/gpio/gpio-xlp.c index 8532697..9bdab72 100644 --- a/drivers/gpio/gpio-xlp.c +++ b/drivers/gpio/gpio-xlp.c
@@ -366,6 +366,8 @@ gc = &priv->chip; + gc->owner = THIS_MODULE; + gc->label = dev_name(&pdev->dev); gc->base = 0; gc->dev = &pdev->dev; gc->ngpio = ngpio;