mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 02:04:05 +08:00
ccd4cc3ed0
A reorganization of the driver source led to two of them causing a compile time warning in some configurations: tegra/tegra20_spdif.c:36:12: error: 'tegra20_spdif_runtime_resume' defined but not used [-Werror=unused-function] 36 | static int tegra20_spdif_runtime_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tegra/tegra20_spdif.c:27:12: error: 'tegra20_spdif_runtime_suspend' defined but not used [-Werror=unused-function] 27 | static int tegra20_spdif_runtime_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tegra/tegra30_ahub.c:64:12: error: 'tegra30_ahub_runtime_resume' defined but not used [-Werror=unused-function] 64 | static int tegra30_ahub_runtime_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tegra/tegra30_ahub.c:43:12: error: 'tegra30_ahub_runtime_suspend' defined but not used [-Werror=unused-function] 43 | static int tegra30_ahub_runtime_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mark these functions as __maybe_unused to avoid this kind of warning. Fixes: |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
tegra20_ac97.c | ||
tegra20_ac97.h | ||
tegra20_das.c | ||
tegra20_das.h | ||
tegra20_i2s.c | ||
tegra20_i2s.h | ||
tegra20_spdif.c | ||
tegra20_spdif.h | ||
tegra30_ahub.c | ||
tegra30_ahub.h | ||
tegra30_i2s.c | ||
tegra30_i2s.h | ||
tegra186_dspk.c | ||
tegra186_dspk.h | ||
tegra210_admaif.c | ||
tegra210_admaif.h | ||
tegra210_ahub.c | ||
tegra210_ahub.h | ||
tegra210_dmic.c | ||
tegra210_dmic.h | ||
tegra210_i2s.c | ||
tegra210_i2s.h | ||
tegra_alc5632.c | ||
tegra_asoc_utils.c | ||
tegra_asoc_utils.h | ||
tegra_audio_graph_card.c | ||
tegra_cif.h | ||
tegra_max98090.c | ||
tegra_pcm.c | ||
tegra_pcm.h | ||
tegra_rt5640.c | ||
tegra_rt5677.c | ||
tegra_sgtl5000.c | ||
tegra_wm8753.c | ||
tegra_wm8903.c | ||
tegra_wm9712.c | ||
trimslice.c |