• Arnd Bergmann's avatar
    ASoC: loongson: add PCI dependency · 08432e59
    Arnd Bergmann authored
    The new driver fails to build when PCI is disabled:
    
    WARNING: unmet direct dependencies detected for SND_SOC_LOONGSON_I2S_PCI
      Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && (LOONGARCH || COMPILE_TEST [=y]) && PCI [=n]
      Selected by [y]:
      - SND_SOC_LOONGSON_CARD [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && (LOONGARCH || COMPILE_TEST [=y])
    sound/soc/loongson/loongson_i2s_pci.c:167:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
    module_pci_driver(loongson_i2s_driver);
    
    Add the appropriate Kconfig dependency.
    
    Fixes: d2402860
    
     ("ASoC: loongson: Add Loongson ASoC Sound Card Support")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Link: https://lore.kernel.org/r/20230616090156.2347850-3-arnd@kernel.org
    
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    08432e59
Kconfig 715 Bytes