Other Parts Discussed in Thread: TUSB9260,
Dear sirs,
I have the following error while compiling TUSB linux driver:
root@avtuk:/usr/src/TUSB9260_LinuxDriver# make
make -C /lib/modules/4.19.182-rt74-dirty/build M=/usr/src/TUSB9260_LinuxDriver
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-16-armmp'
CC [M] /usr/src/TUSB9260_LinuxDriver/eBurner.o
/usr/src/TUSB9260_LinuxDriver/eBurner.c:225:20: error: initialization of Б─≤long int (*)(struct file *, unsigned int, long unsigned int)Б─≥ from incompatible pointer type Б─≤int (*)(struct file *, unsigned int, Output_Buffer *)Б─≥ {aka Б─≤int (*)(struct file *, unsigned int, struct <anonymous> *)Б─≥} [-Werror=incompatible-pointer-types]
.unlocked_ioctl = eBurner_ioctl,
^~~~~~~~~~~~~
/usr/src/TUSB9260_LinuxDriver/eBurner.c:225:20: note: (near initialization for Б─≤eBurner_fops.unlocked_ioctlБ─≥)
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.19.0-16-common/scripts/Makefile.build:315: /usr/src/TUSB9260_LinuxDriver/eBurner.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.19.0-16-common/Makefile:1562: _module_/usr/src/TUSB9260_LinuxDriver] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-16-armmp'
make: *** [Makefile:7: all] Error 2
Please help me to compile this driver under linux 4.19.182 with armhf architecture. Thank you!
Anton.