summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/devicetree.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-05-22 16:25:27 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-23 00:36:27 +0200
commitba6764d57d9f0b7d0db6b8233f018d10244e36a8 (patch)
treefa0f1419aee7e7a879cf7596eb44129907da1a36 /drivers/pinctrl/devicetree.h
parent118c565a8f2e0a1857715b8f6a6cfd337f19e904 (diff)
downloadtalos-op-linux-ba6764d57d9f0b7d0db6b8233f018d10244e36a8.tar.gz
talos-op-linux-ba6764d57d9f0b7d0db6b8233f018d10244e36a8.zip
pinctrl: sunxi: Fix multiple registration issue
When the support for the PRCM muxer on the A31 has been added, the global static pinctl_desc definition has been left as is. Unfortunately, this structure is used to register the pinctrl device, and prior to this registration, we set the name and pins field. Since this structure is shared across instances, that means that the latest registered pinctrl device wins in setting the name, pins and pins numbers, which is not really a good thing. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/devicetree.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud