forked from Minki/linux
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>
This commit is contained in:
parent
036f394dd7
commit
c6045b4e3c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user