diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2018-05-03 13:56:17 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2018-05-08 10:28:49 +0530 |
commit | 495ac33a3b82f85ed4fbdd9b826c1d2fbc8e9b68 (patch) | |
tree | 6474df0c88a1ed2866034b620656d41a9f1d1bf6 /Documentation/devicetree/bindings/opp | |
parent | 75bc37fefc4471e718ba8e651aa74673d4e0a9eb (diff) |
soc/tegra: pmc: Don't allocate struct tegra_powergate on stack
With a later commit an instance of the struct device will be added to
struct genpd and with that the size of the struct tegra_powergate will
be over 1024 bytes. That generates following warning:
drivers/soc/tegra/pmc.c:579:1: warning: the frame size of 1200 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Avoid such warnings by allocating the structure dynamically.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'Documentation/devicetree/bindings/opp')
0 files changed, 0 insertions, 0 deletions