Files
linux/drivers
Viresh Kumar 495ac33a3b 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>
2018-05-08 10:28:49 +05:30
..
2018-04-19 15:11:50 -07:00
2018-03-27 09:51:22 +02:00
2018-04-27 14:12:43 +02:00
2018-04-12 21:46:10 -04:00
2018-04-18 23:37:25 -04:00
2018-05-02 21:47:35 +02:00
2018-03-29 13:38:10 +03:00