diff options
author | Benjamin Gaignard <benjamin.gaignard@st.com> | 2019-05-22 17:29:25 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-05-23 09:35:48 +0200 |
commit | c6045b4e3cadc2d8d65be8601deb76811e08a6ce (patch) | |
tree | e3ab90bcd7009b4449727443565059806357977e /drivers/pinctrl/pinctrl-stmfx.c | |
parent | pinctrl: Enable device link creation for pin control (diff) | |
download | linux-c6045b4e3cadc2d8d65be8601deb76811e08a6ce.tar.xz linux-c6045b4e3cadc2d8d65be8601deb76811e08a6ce.zip |
pinctrl: stmfx: enable links creations
Set create_link to inform pinctrl core that stmfx wants to create
link with its consumers.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-stmfx.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-stmfx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-stmfx.c b/drivers/pinctrl/pinctrl-stmfx.c index eba872ce4a7c..d3332da35637 100644 --- a/drivers/pinctrl/pinctrl-stmfx.c +++ b/drivers/pinctrl/pinctrl-stmfx.c @@ -622,6 +622,7 @@ static int stmfx_pinctrl_probe(struct platform_device *pdev) pctl->pctl_desc.pins = stmfx_pins; pctl->pctl_desc.npins = ARRAY_SIZE(stmfx_pins); pctl->pctl_desc.owner = THIS_MODULE; + pctl->pctl_desc.link_consumers = true; ret = devm_pinctrl_register_and_init(pctl->dev, &pctl->pctl_desc, pctl, &pctl->pctl_dev); |