]> git.baikalelectronics.ru Git - kernel.git/commit
phy: tegra: mark tegra_xusb_lane_lookup_function() static
authorBaoyou Xie <baoyou.xie@linaro.org>
Wed, 31 Aug 2016 09:05:19 +0000 (17:05 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 10 Sep 2016 11:18:35 +0000 (16:48 +0530)
commita4bd2bf7e564beaf30a42aed3b288e666db04330
tree89eac2c23ceb6c8f130afe1573587019c6f91ffe
parentf27dccba5a6f8e1dd6dc2ec24dc53434b7621eb0
phy: tegra: mark tegra_xusb_lane_lookup_function() static

We get 1 warning when building kernel with W=1:
drivers/phy/tegra/xusb.c:104:5: warning: no previous prototype for 'tegra_xusb_lane_lookup_function' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is
declared and don't need a declaration, but can be made static.
So this patch marks it 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/tegra/xusb.c