diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-08-25 16:02:02 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-08-25 16:03:42 -0700 |
commit | c5a132a84a692f8d81f3b6959b98bcd959659457 (patch) | |
tree | 8e294610580e0ac7fed7d3f13ffc7798b302cb34 /drivers/clk/tegra/clk-tegra124.c | |
parent | a7c602bf42f943e717eed92165ebfa6dbaba3029 (diff) |
clk: tegra: Fix some static checker problems
The latest Tegra clk pull had some problems. Fix them.
drivers/clk/tegra/clk-tegra124.c:1450:6: warning: symbol 'tegra124_clock_assert_dfll_dvco_reset' was not declared. Should it be static?
drivers/clk/tegra/clk-tegra124.c:1466:6: warning: symbol 'tegra124_clock_deassert_dfll_dvco_reset' was not declared. Should it be static?
drivers/clk/tegra/clk-tegra124.c:1476:5: warning: symbol 'tegra124_reset_assert' was not declared. Should it be static?
drivers/clk/tegra/clk-tegra124.c:1486:5: warning: symbol 'tegra124_reset_deassert' was not declared. Should it be static?
drivers/clk/tegra/clk-dfll.c:590 dfll_load_i2c_lut() warn: inconsistent indenting
drivers/clk/tegra/clk-dfll.c:1448 dfll_build_i2c_lut() warn: unsigned 'td->i2c_lut[0]' is never less than zero.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/tegra/clk-tegra124.c')
-rw-r--r-- | drivers/clk/tegra/clk-tegra124.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/clk/tegra/clk-tegra124.c b/drivers/clk/tegra/clk-tegra124.c index a9e2b30737ec..824d75883d2b 100644 --- a/drivers/clk/tegra/clk-tegra124.c +++ b/drivers/clk/tegra/clk-tegra124.c @@ -1447,7 +1447,7 @@ static void tegra124_car_barrier(void) * * Assert the reset line of the DFLL's DVCO. No return value. */ -void tegra124_clock_assert_dfll_dvco_reset(void) +static void tegra124_clock_assert_dfll_dvco_reset(void) { u32 v; @@ -1463,7 +1463,7 @@ void tegra124_clock_assert_dfll_dvco_reset(void) * Deassert the reset line of the DFLL's DVCO, allowing the DVCO to * operate. No return value. */ -void tegra124_clock_deassert_dfll_dvco_reset(void) +static void tegra124_clock_deassert_dfll_dvco_reset(void) { u32 v; @@ -1473,7 +1473,7 @@ void tegra124_clock_deassert_dfll_dvco_reset(void) tegra124_car_barrier(); } -int tegra124_reset_assert(unsigned long id) +static int tegra124_reset_assert(unsigned long id) { if (id == TEGRA124_RST_DFLL_DVCO) tegra124_clock_assert_dfll_dvco_reset(); @@ -1483,7 +1483,7 @@ int tegra124_reset_assert(unsigned long id) return 0; } -int tegra124_reset_deassert(unsigned long id) +static int tegra124_reset_deassert(unsigned long id) { if (id == TEGRA124_RST_DFLL_DVCO) tegra124_clock_deassert_dfll_dvco_reset(); |