Browse Source

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>
Heiko Stübner 11 years ago
parent
commit
ed62f2f255
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/pinctrl/pinctrl-rockchip.c

+ 1 - 0
drivers/pinctrl/pinctrl-rockchip.c

@@ -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[] = {