alistair23-linux/drivers/pinctrl/tegra
Thierry Reding 02101cb3f5 pinctrl: tegra: xusb: Silence sparse warnings
Commit 53d2a715c2 ("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>
2017-04-24 18:35:54 +02:00
..
Kconfig
Makefile pinctrl: tegra: Fix build dependency 2016-06-22 17:58:07 +02:00
pinctrl-tegra-xusb.c pinctrl: tegra: xusb: Silence sparse warnings 2017-04-24 18:35:54 +02:00
pinctrl-tegra.c Revert "Revert "pinctrl: tegra: avoid parked_reg and parked_bank"" 2016-05-30 09:41:45 +02:00
pinctrl-tegra.h Revert "Revert "pinctrl: tegra: avoid parked_reg and parked_bank"" 2016-05-30 09:41:45 +02:00
pinctrl-tegra20.c pinctrl: tegra: Get rid of parked_reg 2016-05-30 09:41:46 +02:00
pinctrl-tegra30.c Revert "Revert "pinctrl: tegra: avoid parked_reg and parked_bank"" 2016-05-30 09:41:45 +02:00
pinctrl-tegra114.c Revert "Revert "pinctrl: tegra: avoid parked_reg and parked_bank"" 2016-05-30 09:41:45 +02:00
pinctrl-tegra124.c Revert "Revert "pinctrl: tegra: avoid parked_reg and parked_bank"" 2016-05-30 09:41:45 +02:00
pinctrl-tegra210.c Revert "Revert "pinctrl: tegra: avoid parked_reg and parked_bank"" 2016-05-30 09:41:45 +02:00