happycube / cxadc-linux3

CX2388x direct ADC capture driver, updated for Linux 3.x+ and 64-bit
81 stars 18 forks source link

No compilation with CentOS 9 Stream #59

Open eskalVAR opened 3 months ago

eskalVAR commented 3 months ago

The driver does not compile due to incompatible signatures of the class_create function provided by the linux header in CentOS 9 Stream.

Kernel version is 5.14.0 but it appears they use the newer function signature.

Fixed compilation by using the single parameter class_create signature in the cxadc_init_module function.