The module's makefile offers make depend target, but that fails for Linux 6.10.10:
git clone https://github.com/freemed/tty0tty.git
cd tty0tty/module
and then
make depend:
tty0tty.c:30:10: fatal error: 'linux/init.h' file not found
30 | #include <linux/init.h>
| ^~~~~~~~~~~~~~
1 error generated.
make: *** [Makefile:40: depend] Error 1
git describe --tags of the cloned tty0tty source shows 1.2-59-gac540b8, i.e. at commit ac540b8
Regards!