diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-08-28 13:35:37 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-08-28 16:55:11 +0200 |
commit | 8d2a0cdf52299d1f83a7707c5ca6b0c811339aba (patch) | |
tree | 8d80d21c8dca71354a667e889265f318bd0b540b /sound/usb/mixer_scarlett.h | |
parent | Merge tag 'asoc-v6.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broo... (diff) | |
download | linux-8d2a0cdf52299d1f83a7707c5ca6b0c811339aba.tar.xz linux-8d2a0cdf52299d1f83a7707c5ca6b0c811339aba.zip |
ASoC: dwc: i2s: Fix unused functions
A few newly added functions aren't built unless CONFIG_OF is set,
which result in the build failure due to defined-but-not-used errors.
Put "#ifdef CONFIG_OF" around those functions to suppress the build
error.
Fixes: 52ea7c0543f8 ("ASoC: dwc: i2s: Add StarFive JH7110 SoC support")
Link: https://lore.kernel.org/r/20230828113537.27600-1-tiwai@suse.de
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer_scarlett.h')
0 files changed, 0 insertions, 0 deletions