lantiq: etop enable gbit port0
[openwrt/svn-archive/archive.git] / target / linux / lantiq / patches-3.8 / 0012-PINCTRL-lantiq-fix-pinconfig-parameters.patch
1 From ea1a25a2ca058e4b35c5763774e7fad6ab928418 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Wed, 30 Jan 2013 20:10:20 +0100
4 Subject: [PATCH 12/40] PINCTRL: lantiq: fix pinconfig parameters
5
6 The Falcon driver only defined the pinconf parameters but did not pass them
7 properly to the underlying api.
8
9 Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
10 Signed-off-by: John Crispin <blogic@openwrt.org>
11 ---
12 drivers/pinctrl/pinctrl-falcon.c | 2 ++
13 1 file changed, 2 insertions(+)
14
15 --- a/drivers/pinctrl/pinctrl-falcon.c
16 +++ b/drivers/pinctrl/pinctrl-falcon.c
17 @@ -360,6 +360,8 @@ static const struct ltq_cfg_param falcon
18 static struct ltq_pinmux_info falcon_info = {
19 .desc = &falcon_pctrl_desc,
20 .apply_mux = falcon_mux_apply,
21 + .params = falcon_cfg_params,
22 + .num_params = ARRAY_SIZE(falcon_cfg_params),
23 };
24
25