diff options
author | Lad Prabhakar <[email protected]> | 2021-01-07 14:53:29 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-01-11 16:39:09 +0000 |
commit | bfeccc6a18de52529ada66ea3afe934004b4b36e (patch) | |
tree | 143e74134c9d88a7da4d1a36253348f4e8f4b117 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2ef0170e90391f1adb31c449059b8efdc923707c (diff) |
spi: rpc-if: Gaurd .pm assignment with CONFIG_PM_SLEEP #ifdef check
With CONFIG_PM_SLEEP disabled the rpcif_spi_pm_ops variable is still
referenced and thus increasing the size of kernel.
Fix this issue by adding CONFIG_PM_SLEEP #ifdef check around the .pm
assignment (image size is critical on RZ/A SoC's where the SRAM sizes
range 4~5 MiB).
Fixes: 9584fc95cadc0 ("spi: rpc-if: Remove CONFIG_PM_SLEEP ifdefery")
Reported-by: Geert Uytterhoeven <[email protected]>
Suggested-by: Pavel Machek <[email protected]>
Signed-off-by: Lad Prabhakar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions