I'm trying to compile stk11xx on Gentoo. Build log is attached.
It was working with 3.10* kernels, though.
/var/tmp/portage/media-video/stk11xx-2.1.0_p104/work/stk11xx-2.1.0_p104/stk11xx-v4l.c: In function ‘v4l_stk11xx_register_video_device’:
/var/tmp/portage/media-video/stk11xx-2.1.0_p104/work/stk11xx-2.1.0_p104/stk11xx-v4l.c:1481:11: error: ‘struct video_device’ has no member named ‘parent’
dev->vdev->parent = &dev->interface->dev;
It looks like something were changed in Video4Linux in 3.11* kernels - ‘struct video_device’ has no member "parent", but have "dev_parent" instead.
I've tried to apply a silly patches (stk11xx_fix_3_11_kernels_1.patch, stk11xx_fix_3_11_kernels_2.patch), but with no luck.
Both patches help the driver compile, but after modprobing stk11xx dmesg reports errors (dmesg_1.log, dmesg_2.log respectively).
Please take a look to original bug at https://bugs.gentoo.org/show_bug.cgi?id=488128
I fount this: http://www.spinics.net/lists/linux-media/msg66647.html
It works =) with the newest Kernel (3.11.6-1-ARCH)
https://github.com/jsparber/stk11xx/archive/master.zip
Last edit: Julian Sparber 2013-11-10
Thanks, Julian !
It works for me too.
I've updated Gentoo bugzilla with your patch.
Hope next kernel will have the driver inside :)