pinctrl: rockchip: set is_generic in pinconf_ops
authorHeiko Stübner <heiko@sntech.de>
Sat, 19 Jul 2014 23:48:45 +0000 (01:48 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 23 Jul 2014 14:37:40 +0000 (16:37 +0200)
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>
drivers/pinctrl/pinctrl-rockchip.c

index e2e66c8ccf03446b308ba6335c103eec1223afb4..337c1844f27679b2c43d7a4fa07005561b7efecc 100644 (file)
@@ -928,6 +928,7 @@ static int rockchip_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin,
 static const struct pinconf_ops rockchip_pinconf_ops = {
        .pin_config_get                 = rockchip_pinconf_get,
        .pin_config_set                 = rockchip_pinconf_set,
+       .is_generic                     = true,
 };
 
 static const struct of_device_id rockchip_bank_match[] = {