- Code: Select All Code
CC [M] /home/Build/TBS/media_build/v4l/serial_ir.o
/home/Build/TBS/media_build/v4l/mceusb.c: In function 'mceusb_dev_probe':
/home/Build/TBS/media_build/v4l/mceusb.c:1754:16: error: too many arguments to function 'usb_maxpacket'
1754 | maxp = usb_maxpacket(dev, pipe, usb_pipeout(pipe));
| ^~~~~~~~~~~~~
In file included from /home/Build/TBS/media_build/v4l/mceusb.c:29:
./include/linux/usb.h:1974:19: note: declared here
1974 | static inline u16 usb_maxpacket(struct usb_device *udev, int pipe)
| ^~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:249: /home/Build/TBS/media_build/v4l/mceusb.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:1846: /home/Build/TBS/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-5.19.15'
make[1]: *** [Makefile:53: default] Error 2
make[1]: Leaving directory '/home/Build/TBS/media_build/v4l'
make: *** [Makefile:26: all] Error 2
build failed at ./build line 554
Error appears to be in a sub-system that I do not need. Is it not possible to build just the required TBS drivers insted of everything?
--
Pete