smallint / tbs-usb

Standalone TBS USB linux drivers
2 stars 1 forks source link

fails to compile with 5.4.x kernel #1

Open cz172638 opened 4 years ago

cz172638 commented 4 years ago

CC [M] /home/indy/tbs/tbs-usb/dvb-frontends/tas2101.o /home/indy/tbs/tbs-usb/dvb-frontends/tas2101.c:908:23: error: initialization of ‘enum dvbfe_algo ()(struct dvb_frontend )’ from incompatible pointer type ‘int ()(struct dvb_frontend )’ [-Werror=incompatible-pointer-types] 908 | .get_frontend_algo = tas2101_get_algo, | ^~~~ /home/indy/tbs/tbs-usb/dvb-frontends/tas2101.c:908:23: note: (near initialization for ‘tas2101_ops.get_frontend_algo’)

####################

changing pointer type fix compiling, but loading modules ends with trackback and not usable system.

also tried copy newer versions from tbsdtv, failed to build

smallint commented 4 years ago

I fixed the compilation error. For the actual issue I have to take a closer look.