From: Stephen Boyd Date: Wed, 25 Mar 2020 02:14:12 +0000 (-0700) Subject: clk: tegra: Use NULL for pointer initialization X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ba0eb9d57a3781a450b8b5eb15c497cccb18ee45;p=linux.git 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 --- diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra210.c index c6304f5e813eb..defe3b7ebfa49 100644 --- a/drivers/clk/tegra/clk-tegra210.c +++ b/drivers/clk/tegra/clk-tegra210.c @@ -2993,7 +2993,7 @@ static const char * const la_parents[] = { }; static struct tegra_clk_periph tegra210_la = - TEGRA_CLK_PERIPH(29, 7, 9, 0, 8, 1, TEGRA_DIVIDER_ROUND_UP, 76, 0, NULL, 0); + TEGRA_CLK_PERIPH(29, 7, 9, 0, 8, 1, TEGRA_DIVIDER_ROUND_UP, 76, 0, NULL, NULL); static __init void tegra210_periph_clk_init(void __iomem *clk_base, void __iomem *pmc_base)