gpio: xlp: Add missing .owner and .label settings for gpio_chip
PATCH 1/1 gpio: xlp: Add missing .owner and .label settings for gpio_chip
Signed-off-by Axel Lin <[email protected]>
--- drivers/gpio/gpio-xlp.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpio/gpio-xlp.c +2 -0
@@ -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;
Signature · 1 line
2.1.0