diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2018-05-03 10:26:17 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2018-05-08 06:58:49 +0200 |
commit | 495ac33a3b82f85ed4fbdd9b826c1d2fbc8e9b68 (patch) | |
tree | 6474df0c88a1ed2866034b620656d41a9f1d1bf6 /Documentation/devicetree/bindings/openrisc | |
parent | Linux 4.17-rc4 (diff) | |
download | linux-495ac33a3b82f85ed4fbdd9b826c1d2fbc8e9b68.tar.xz linux-495ac33a3b82f85ed4fbdd9b826c1d2fbc8e9b68.zip |
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/openrisc')
0 files changed, 0 insertions, 0 deletions