aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clk/tegra
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-03-22 22:50:41 +0100
committerStephen Boyd <sboyd@kernel.org>2021-08-29 11:38:11 -0700
commit27115441b938b0287471ac351041dbac81095178 (patch)
tree2bbe85b0edcd758b7c76211d4551d2447d317840 /drivers/clk/tegra
parentMerge tag 'for-5.15-clk' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into clk-nvidia (diff)
downloadwireguard-linux-27115441b938b0287471ac351041dbac81095178.tar.xz
wireguard-linux-27115441b938b0287471ac351041dbac81095178.zip
clk: tegra: fix old-style declaration
With extra warnings enabled, gcc complains about a slightly odd prototype: drivers/clk/tegra/clk-dfll.c:1380:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration] 1380 | static void inline dfll_debug_init(struct tegra_dfll *td) { } Move the 'inline' keyword to the start of the line. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20210322215047.1062540-1-arnd@kernel.org Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/tegra')
-rw-r--r--drivers/clk/tegra/clk-dfll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-dfll.c b/drivers/clk/tegra/clk-dfll.c
index a5f526bb0483..6144447f86c6 100644
--- a/drivers/clk/tegra/clk-dfll.c
+++ b/drivers/clk/tegra/clk-dfll.c
@@ -1377,7 +1377,7 @@ static void dfll_debug_init(struct tegra_dfll *td)
}
#else
-static void inline dfll_debug_init(struct tegra_dfll *td) { }
+static inline void dfll_debug_init(struct tegra_dfll *td) { }
#endif /* CONFIG_DEBUG_FS */
/*