You-Sheng Yang 45572a4b29 v4l2: omit wait_prepare/finish callbacks from vb2_ops for kernels >= 7.0
v7.0-rc1 commit b70886ff5833 ("media: vb2: drop wait_prepare/finish
callbacks") has removed wait_prepare/wait_finish fields from struct
vb2_ops, which fails the build with following errors:

    CC [M]  fthd_v4l2.o
  fthd_v4l2.c:306:10: error: ‘struct vb2_ops’ has no member named ‘wait_prepare’; did you mean ‘buf_prepare’?
    306 |         .wait_prepare           = vb2_ops_wait_prepare,
        |          ^~~~~~~~~~~~
        |          buf_prepare
  fthd_v4l2.c:306:35: error: ‘vb2_ops_wait_prepare’ undeclared here (not in a function)
    306 |         .wait_prepare           = vb2_ops_wait_prepare,
        |                                   ^~~~~~~~~~~~~~~~~~~~
  fthd_v4l2.c:307:10: error: ‘struct vb2_ops’ has no member named ‘wait_finish’
    307 |         .wait_finish            = vb2_ops_wait_finish,
        |          ^~~~~~~~~~~
  fthd_v4l2.c:307:35: error: ‘vb2_ops_wait_finish’ undeclared here (not in a function)
    307 |         .wait_finish            = vb2_ops_wait_finish,
        |                                   ^~~~~~~~~~~~~~~~~~~
  fthd_v4l2.c:307:35: warning: excess elements in struct initializer
  fthd_v4l2.c:307:35: note: (near initialization for ‘vb2_queue_ops’)
  make[3]: *** [/usr/src/linux-headers-7.0.0-3-generic/scripts/Makefile.build:289: fthd_v4l2.o] Error 1

Closes: #319
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
2026-03-03 00:35:37 +08:00
2016-02-18 09:15:52 -06:00
2015-11-27 20:32:06 +01:00
2023-10-13 18:04:46 +08:00

facetimehd

Linux driver for the Facetime HD (Broadcom 1570) PCIe webcam found in recent Macbooks.

This driver is experimental. Use at your own risk.

See the Wiki for more information:

Description
No description provided
Readme GPL-2.0 1.2 MiB
Languages
C 99.7%
Makefile 0.3%