The WiKi https://github.com/tbsdtv/linux_media/wiki works for "ages" already with my TBS6522 card on Archlinux.
As you may know, Archlinux has rolling updates, i.e. we get the latest from upstream. Since a few days Archlinux provides the linux kernel 5.12.1. Now, the "make -j4" command of the WiKi terminates with:
/home/andre/media_build/v4l/cafe-driver.c:47:25: error: expected declaration specifiers or '...' before string constant
47 | MODULE_SUPPORTED_DEVICE("Video");
| ^~~~~~~
make[3]: *** [scripts/Makefile.build:271: /home/andre/media_build/v4l/cafe-driver.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC [M] /home/andre/media_build/v4l/vpdma.o
make[2]: *** [Makefile:1851: /home/andre/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/lib/modules/5.12.1-arch1-1/build'
make[1]: *** [Makefile:53: default] Error 2
make[1]: Leaving directory '/home/andre/media_build/v4l'
make: *** [Makefile:26: all] Error 2
[andre@M4A78T-E media_build]$ uname -r
5.12.1-arch1-1
For the time being, I downgraded linux and linux-headers to 5.11.16.arch1 and the TBS driver gets generated OK again.
Undoubtedly, there will come a day when other people will start using linux-5.12 and my guess is that they will run into the same problem mentioned above. So, maybe you can have a look at this.
Kind regards,
Andre Hasekamp.