pinctrl: bcm2835: declare pin config as generic
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 3 Feb 2019 13:02:33 +0000 (14:02 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Feb 2019 12:12:12 +0000 (13:12 +0100)
Since commit 0de704955ee44 ("pinctrl: bcm2835: Add support for
generic pinctrl binding") this driver is capable to use the generic
interface. So declare this accordingly.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c

index f180aa4..19eb4fd 100644 (file)
@@ -969,6 +969,7 @@ static int bcm2835_pinconf_set(struct pinctrl_dev *pctldev,
 }
 
 static const struct pinconf_ops bcm2835_pinconf_ops = {
+       .is_generic = true,
        .pin_config_get = bcm2835_pinconf_get,
        .pin_config_set = bcm2835_pinconf_set,
 };