summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/bcm
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2019-02-03 14:02:33 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-02-08 13:12:12 +0100
commit1cb66f080c27349fbf87fb327d587b4b0b624fa3 (patch)
tree68e2aab12e618c1bcad8380b7432323ee57c5c03 /drivers/pinctrl/bcm
parentf1c894712bbe54b0c1d8a24f1b1bc32e3688d4ff (diff)
downloadlinux-1cb66f080c27349fbf87fb327d587b4b0b624fa3.tar.bz2
pinctrl: bcm2835: declare pin config as generic
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>
Diffstat (limited to 'drivers/pinctrl/bcm')
-rw-r--r--drivers/pinctrl/bcm/pinctrl-bcm2835.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/bcm/pinctrl-bcm2835.c b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
index f180aa44a422..19eb4fd1ed4c 100644
--- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
@@ -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,
};