Menu

#21 stk11xx-2.1.0_p104, kernel 3.11.3 - .../work/stk11xx-2.1.0_p104/stk11xx-v4l.c:1481:11: error: ‘struct video_device’ has no member named ‘parent’

v1.1.0
open
nobody
None
5
2013-11-10
2013-10-15
No

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).

5 Attachments

Discussion

  • Michael Tulupov

    Michael Tulupov - 2013-10-15

    Please take a look to original bug at https://bugs.gentoo.org/show_bug.cgi?id=488128

     
  • Julian Sparber

    Julian Sparber - 2013-11-10
     

    Last edit: Julian Sparber 2013-11-10
    • Michael Tulupov

      Michael Tulupov - 2013-11-13

      Thanks, Julian !
      It works for me too.
      I've updated Gentoo bugzilla with your patch.
      Hope next kernel will have the driver inside :)

       

Log in to post a comment.