Из 4.1 тоже
В рассылке сказали что V4L изменена в последнем ядре и порекомендовали откатится до M41.1. Я попробовал - не помогло. Другая ошибка:
In file included from /home/rs/src/microdia/sn9c20x-sysfs.c:39:
/home/rs/src/microdia/sn9c20x.h:57:1: warning: "V4L2_CID_EXPOSURE_AUTO" redefined
In file included from include/media/v4l2-dev.h:29,
from include/media/v4l2-common.h:29,
from /home/rs/src/microdia/sn9c20x-sysfs.c:37:
include/linux/videodev2.h:1077:1: warning: this is the location of the previous definition
/home/rs/src/microdia/sn9c20x-sysfs.c: In function ‘sn9c20x_create_sysfs_files’:
/home/rs/src/microdia/sn9c20x-sysfs.c:947: error: implicit declaration of function ‘video_device_create_file’
/home/rs/src/microdia/sn9c20x-sysfs.c: In function ‘sn9c20x_remove_sysfs_files’:
/home/rs/src/microdia/sn9c20x-sysfs.c:1014: error: implicit declaration of function ‘video_device_remove_file’
make[2]: *** [/home/rs/src/microdia/sn9c20x-sysfs.o] Error 1
make[1]: *** [_module_/home/rs/src/microdia] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-std-def-alt8.M41.1'
make: *** [driver] Error 2