aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-rockchip.c
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2014-07-19 19:48:45 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-07-23 10:37:40 -0400
commited62f2f25547ea9a25394087470a5816ee4db71b (patch)
tree49c782a215c8e8bc51a2f9e125f96e3c98dfe2f7 /drivers/pinctrl/pinctrl-rockchip.c
parent1c349551027fadc9cfe1ec01068f6f8ac5b9331d (diff)
pinctrl: rockchip: set is_generic in pinconf_ops
The rockchip pinctrl driver implements the generic pinconfig, therefore also state this, so that the default pinconf dump functions work. Signed-off-by: Heiko Stübner <heiko@sntech.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-rockchip.c')
-rw-r--r--drivers/pinctrl/pinctrl-rockchip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c
index e2e66c8ccf03..337c1844f276 100644
--- a/drivers/pinctrl/pinctrl-rockchip.c
+++ b/drivers/pinctrl/pinctrl-rockchip.c
@@ -928,6 +928,7 @@ static int rockchip_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin,
928static const struct pinconf_ops rockchip_pinconf_ops = { 928static const struct pinconf_ops rockchip_pinconf_ops = {
929 .pin_config_get = rockchip_pinconf_get, 929 .pin_config_get = rockchip_pinconf_get,
930 .pin_config_set = rockchip_pinconf_set, 930 .pin_config_set = rockchip_pinconf_set,
931 .is_generic = true,
931}; 932};
932 933
933static const struct of_device_id rockchip_bank_match[] = { 934static const struct of_device_id rockchip_bank_match[] = {