Hi,
While adding adau1716 i am getting the following error
CC sound/soc/codecs/adau1761.c: In function 'adau1761_setup_digmic_jackdetect'
sound/soc/codecs/adau1761.c:498:3: error: implicit declaration of function 'snd_soc_add_controls' [-Werror=implicit-function-declaration]
sound/soc/codecs/adau1761.c: At top level:
sound/soc/codecs/adau1761.c:396:12: warning: 'adau1761_is_slave_mode' defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[3]: *** [sound/soc/codecs/adau1761.o] Error 1
make[2]: *** [sound/soc/codecs] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2
Attached also a snapshot of the same.
Kindly help with the workaround.
Thanks,
Ved