Skip to content

Commit f89ea8f

Browse files
Tom Rixbebarino
authored andcommitted
clk: imx: set imx_clk_gpr_mux_ops storage-class-specifier to static
smatch reports drivers/clk/imx/clk-gpr-mux.c:73:22: warning: symbol 'imx_clk_gpr_mux_ops' was not declared. Should it be static? imx_clk_gpr_mux_ops is only used in clk-gpr-mux.c, so it should be static. Signed-off-by: Tom Rix <[email protected]> Link: https://lore.kernel.org/r/[email protected] Fixes: ee394f6 ("clk: imx: add clk-gpr-mux driver") Signed-off-by: Stephen Boyd <[email protected]>
1 parent dede211 commit f89ea8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/imx/clk-gpr-mux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static int imx_clk_gpr_mux_determine_rate(struct clk_hw *hw,
7070
return clk_mux_determine_rate_flags(hw, req, 0);
7171
}
7272

73-
const struct clk_ops imx_clk_gpr_mux_ops = {
73+
static const struct clk_ops imx_clk_gpr_mux_ops = {
7474
.get_parent = imx_clk_gpr_mux_get_parent,
7575
.set_parent = imx_clk_gpr_mux_set_parent,
7676
.determine_rate = imx_clk_gpr_mux_determine_rate,

0 commit comments

Comments
 (0)