Browse Source

pinctrl/lantiq: fix pinconfig parameters

The Falcon driver only defined the pinconf parameters but
did not pass them properly to the underlying api.

Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
John Crispin 12 years ago
parent
commit
77ef406272
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/pinctrl/pinctrl-falcon.c

+ 2 - 0
drivers/pinctrl/pinctrl-falcon.c

@@ -360,6 +360,8 @@ static const struct ltq_cfg_param falcon_cfg_params[] = {
 static struct ltq_pinmux_info falcon_info = {
 	.desc		= &falcon_pctrl_desc,
 	.apply_mux	= falcon_mux_apply,
+	.params		= falcon_cfg_params,
+	.num_params	= ARRAY_SIZE(falcon_cfg_params),
 };