clk: tegra: Fix sparse warning for pll_m
authorJon Hunter <jonathanh@nvidia.com>
Fri, 4 Dec 2015 17:04:23 +0000 (17:04 +0000)
committerThierry Reding <treding@nvidia.com>
Tue, 2 Feb 2016 14:49:32 +0000 (15:49 +0100)
commitd9e657919afe0794713b5ffb069f9f66c37bfe17
tree30fd2a9f85cf99e3fe3b06b3d4c0a14f9e14e119
parent2d5b6cf84a1764aa9837128bc1e6fd53cb0bb9c1
clk: tegra: Fix sparse warning for pll_m

Sparse generates the following warning for the pll_m params structure:

drivers/clk/tegra/clk-tegra210.c:1569:10: warning: Initializer entry
 defined twice
drivers/clk/tegra/clk-tegra210.c:1570:10:   also defined here

Fix this by correcting the index for the MISC1 register.

Fixes: b31eba5ff3f7 ("clk: tegra: Add support for Tegra210 clocks")

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra210.c