diff options
| author | Arnd Bergmann <[email protected]> | 2019-12-10 20:42:58 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2020-01-10 15:39:07 +0000 |
| commit | f90965abc51d9a72cd6fa414e9480edff9ddaced (patch) | |
| tree | 9b170c3bcaae508a22adc57d1aa5ea542104054c /fs/jbd2/commit.c | |
| parent | drm/tegra: Do not implement runtime PM (diff) | |
| download | kernel-f90965abc51d9a72cd6fa414e9480edff9ddaced.tar.gz kernel-f90965abc51d9a72cd6fa414e9480edff9ddaced.zip | |
drm/tegra: sor: Mark PM functions as __maybe_unused
Without CONFIG_PM, some functions cause harmless warnings:
drivers/gpu/drm/tegra/sor.c:3984:12: error: 'tegra_sor_resume' defined but not used [-Werror=unused-function]
static int tegra_sor_resume(struct device *dev)
^~~~~~~~~~~~~~~~
drivers/gpu/drm/tegra/sor.c:3970:12: error: 'tegra_sor_suspend' defined but not used [-Werror=unused-function]
static int tegra_sor_suspend(struct device *dev)
^~~~~~~~~~~~~~~~~
Mark these as __maybe_unused so the compiler can drop them
silently.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
