forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
5b7d414ad0
commit
b8a3f52e98
|
@ -366,6 +366,8 @@ static int xlp_gpio_probe(struct platform_device *pdev)
|
|||
|
||||
gc = &priv->chip;
|
||||
|
||||
gc->owner = THIS_MODULE;
|
||||
gc->label = dev_name(&pdev->dev);
|
||||
gc->base = 0;
|
||||
gc->dev = &pdev->dev;
|
||||
gc->ngpio = ngpio;
|
||||
|
|
Loading…
Reference in New Issue
Block a user