Skip to content

Commit 2711544

Browse files
arndbbebarino
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Thierry Reding <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 923ba46 commit 2711544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/tegra/clk-dfll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ static void dfll_debug_init(struct tegra_dfll *td)
13771377
}
13781378

13791379
#else
1380-
static void inline dfll_debug_init(struct tegra_dfll *td) { }
1380+
static inline void dfll_debug_init(struct tegra_dfll *td) { }
13811381
#endif /* CONFIG_DEBUG_FS */
13821382

13831383
/*

0 commit comments

Comments
 (0)