enlyze / xr-usb-serial

Linux driver for the Exar/MaxLinear XR21V1410, XR21V1412, XR21V1414, XR21B1411, XR21B1420, XR21B1422, XR21B1424, XR22801, XR22802, XR22804
7 stars 3 forks source link

Fixed to compile for kernel 5.15.8 #2

Closed valinet closed 4 months ago

valinet commented 2 years ago

I have fixed this to compile on more recent kernels. I was able to successfully compile using these modifications on Arch Linux. Make sure to install git, base-devel and linux-headers packages.

Also, if usb_serial is built-into the kernel and should you want to prevent the kernel from loading it, add this parameter to your kernel's boot cmdline: initcall_blacklist=usb_serial_init.

Thanks

Freax13 commented 4 months ago

I apologize for the delay in reviewing this. AFAICT this PR has been superseded by https://github.com/enlyze/xr-usb-serial/commit/c29ea96ab7a0e8bbe279f5d8fdc48841626fcee7.

valinet commented 4 months ago

No worries, I am glad that it is fixed upstream now. Keep up the good work!