summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-artpec6.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-04-24 13:56:49 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-04-24 18:35:54 +0200
commit02101cb3f5a269c006c5b93f3c603dc31e473859 (patch)
tree1ab49d49f31e8c8c830559f66b71a02fafdbc011 /drivers/pinctrl/pinctrl-artpec6.c
parente41f3207be87a0f6aa4f3fe8246414e2e89fe464 (diff)
downloadop-kernel-dev-02101cb3f5a269c006c5b93f3c603dc31e473859.zip
op-kernel-dev-02101cb3f5a269c006c5b93f3c603dc31e473859.tar.gz
pinctrl: tegra: xusb: Silence sparse warnings
Commit 53d2a715c240 ("phy: Add Tegra XUSB pad controller support") added a new driver for the XUSB pad controller that implements a more flexible devicetree binding. In order to preserve backwards compatibility the old driver can be probed if the obsolete bindings are detected. In order to hide the legacy code, these prototypes were defined in a header private to the new driver. This has the disadvantage of making the sparse code checker complain about the missing declarations when compiling the old driver and suggesting to make the functions static. Avoid these sparse warnings by adding local prototype declarations into the compatibility driver. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-artpec6.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud