Skip to content

Commit f2222a9

Browse files
Yue Haibingthierryreding
authored andcommitted
memory: tegra: Make terga20_mc_reset_ops static
Fix sparse warning: drivers/memory/tegra/tegra20.c:277:33: warning: symbol 'terga20_mc_reset_ops' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 9e98c67 commit f2222a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/memory/tegra/tegra20.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ static int terga20_mc_unblock_dma(struct tegra_mc *mc,
274274
return 0;
275275
}
276276

277-
const struct tegra_mc_reset_ops terga20_mc_reset_ops = {
277+
static const struct tegra_mc_reset_ops terga20_mc_reset_ops = {
278278
.hotreset_assert = terga20_mc_hotreset_assert,
279279
.hotreset_deassert = terga20_mc_hotreset_deassert,
280280
.block_dma = terga20_mc_block_dma,

0 commit comments

Comments
 (0)