Message ID | 1423644176.1967.12.camel@mussux00.eus.mediatek.inc (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Feb 11, 2015 at 4:42 PM, Hongzhou Yang <hongzhou.yang@mediatek.com> wrote: > Due to pinconf relate API changed at kernel-3.20, a build error > happened. > Do I need to send patch v6? I discussed with your colleagues and I think it's simplest just to make a small fix patch on top of what is found on the mtk-staging branch and I'll apply it there. Yours, Linus Walleij
On Wed, 2015-02-11 at 22:45 +0800, Linus Walleij wrote: > On Wed, Feb 11, 2015 at 4:42 PM, Hongzhou Yang > <hongzhou.yang@mediatek.com> wrote: > > > Due to pinconf relate API changed at kernel-3.20, a build error > > happened. > > Do I need to send patch v6? > > I discussed with your colleagues and I think it's simplest just to make > a small fix patch on top of what is found on the mtk-staging branch > and I'll apply it there. > > Yours, > Linus Walleij Ok, thank you. Yours, Hongzhou
diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c index 721f429..83f474b --- a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c @@ -391,7 +391,7 @@ static int mtk_pctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev, return -EINVAL; } - err = pinconf_generic_parse_dt_config(node, &configs, &num_configs); + err = pinconf_generic_parse_dt_config(node, pctldev, &configs, &num_configs);