Skip to content

Commit ba0eb9d

Browse files
committed
clk: tegra: Use NULL for pointer initialization
This silences a sparse warning about using a plain integer instead of NULL for a pointer. Signed-off-by: Stephen Boyd <[email protected]>
1 parent 37a9488 commit ba0eb9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/tegra/clk-tegra210.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2993,7 +2993,7 @@ static const char * const la_parents[] = {
29932993
};
29942994

29952995
static struct tegra_clk_periph tegra210_la =
2996-
TEGRA_CLK_PERIPH(29, 7, 9, 0, 8, 1, TEGRA_DIVIDER_ROUND_UP, 76, 0, NULL, 0);
2996+
TEGRA_CLK_PERIPH(29, 7, 9, 0, 8, 1, TEGRA_DIVIDER_ROUND_UP, 76, 0, NULL, NULL);
29972997

29982998
static __init void tegra210_periph_clk_init(void __iomem *clk_base,
29992999
void __iomem *pmc_base)

0 commit comments

Comments
 (0)