From 1a1b43b3dabac74b320940db3c70e89e7fa26348 Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Wed, 11 Jun 2008 01:27:32 +0000 Subject: implement the VIDIOC_STREAMOFF ioctl and remove some unused code --- sys/dev/video_if.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/video_if.h') diff --git a/sys/dev/video_if.h b/sys/dev/video_if.h index d096d8c3245..3b232a26d0e 100644 --- a/sys/dev/video_if.h +++ b/sys/dev/video_if.h @@ -1,4 +1,4 @@ -/* $OpenBSD: video_if.h,v 1.11 2008/06/10 23:39:01 robert Exp $ */ +/* $OpenBSD: video_if.h,v 1.12 2008/06/11 01:27:30 robert Exp $ */ /* * Copyright (c) 2008 Robert Nagy * @@ -44,6 +44,7 @@ struct video_hw_if { int (*qbuf)(void *, struct v4l2_buffer *); int (*dqbuf)(void *, struct v4l2_buffer *); int (*streamon)(void *, int); + int (*streamoff)(void *, int); int (*try_fmt)(void *, struct v4l2_format *); int (*queryctrl)(void *, struct v4l2_queryctrl *); caddr_t (*mappage)(void *, off_t, int); -- cgit v1.2.3