[media] vb2: replace void *alloc_ctxs by struct device *alloc_devs
Make this a proper typed array. Drop the old allocate context code since that is no longer used. Note that the memops functions now get a struct device pointer instead of the struct device ** that was there initially (actually a void pointer to a struct containing only a struct device pointer). This code is now a lot cleaner. Signed-off-by:Hans Verkuil <hans.verkuil@cisco.com> Reviewed-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by:
Mauro Carvalho Chehab <mchehab@s-opensource.com>
Showing
- drivers/input/touchscreen/sur40.c 1 addition, 1 deletiondrivers/input/touchscreen/sur40.c
- drivers/media/dvb-frontends/rtl2832_sdr.c 1 addition, 1 deletiondrivers/media/dvb-frontends/rtl2832_sdr.c
- drivers/media/pci/cobalt/cobalt-v4l2.c 1 addition, 1 deletiondrivers/media/pci/cobalt/cobalt-v4l2.c
- drivers/media/pci/cx23885/cx23885-417.c 1 addition, 1 deletiondrivers/media/pci/cx23885/cx23885-417.c
- drivers/media/pci/cx23885/cx23885-dvb.c 1 addition, 1 deletiondrivers/media/pci/cx23885/cx23885-dvb.c
- drivers/media/pci/cx23885/cx23885-vbi.c 1 addition, 1 deletiondrivers/media/pci/cx23885/cx23885-vbi.c
- drivers/media/pci/cx23885/cx23885-video.c 1 addition, 1 deletiondrivers/media/pci/cx23885/cx23885-video.c
- drivers/media/pci/cx25821/cx25821-video.c 1 addition, 1 deletiondrivers/media/pci/cx25821/cx25821-video.c
- drivers/media/pci/cx88/cx88-blackbird.c 1 addition, 1 deletiondrivers/media/pci/cx88/cx88-blackbird.c
- drivers/media/pci/cx88/cx88-dvb.c 1 addition, 1 deletiondrivers/media/pci/cx88/cx88-dvb.c
- drivers/media/pci/cx88/cx88-vbi.c 1 addition, 1 deletiondrivers/media/pci/cx88/cx88-vbi.c
- drivers/media/pci/cx88/cx88-video.c 1 addition, 1 deletiondrivers/media/pci/cx88/cx88-video.c
- drivers/media/pci/dt3155/dt3155.c 1 addition, 1 deletiondrivers/media/pci/dt3155/dt3155.c
- drivers/media/pci/netup_unidvb/netup_unidvb_core.c 1 addition, 1 deletiondrivers/media/pci/netup_unidvb/netup_unidvb_core.c
- drivers/media/pci/saa7134/saa7134-ts.c 1 addition, 1 deletiondrivers/media/pci/saa7134/saa7134-ts.c
- drivers/media/pci/saa7134/saa7134-vbi.c 1 addition, 1 deletiondrivers/media/pci/saa7134/saa7134-vbi.c
- drivers/media/pci/saa7134/saa7134-video.c 1 addition, 1 deletiondrivers/media/pci/saa7134/saa7134-video.c
- drivers/media/pci/saa7134/saa7134.h 1 addition, 1 deletiondrivers/media/pci/saa7134/saa7134.h
- drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 1 addition, 1 deletiondrivers/media/pci/solo6x10/solo6x10-v4l2-enc.c
- drivers/media/pci/solo6x10/solo6x10-v4l2.c 1 addition, 1 deletiondrivers/media/pci/solo6x10/solo6x10-v4l2.c
Loading
Please register or sign in to comment