diff mbox

[v2,3/9] Use int for buffer queue type

Message ID 1397167605-29956-3-git-send-email-sakari.ailus@iki.fi (mailing list archive)
State New, archived
Headers show

Commit Message

Sakari Ailus April 10, 2014, 10:06 p.m. UTC
This makes comparisons nicer.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
---
 yavta.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/yavta.c b/yavta.c
index 18e1709..5a35bab 100644
--- a/yavta.c
+++ b/yavta.c
@@ -64,7 +64,7 @@  struct device
 {
 	int fd;
 
-	enum v4l2_buf_type type;
+	int type; /* buffer queue type */
 	enum v4l2_memory memtype;
 	unsigned int nbufs;
 	struct buffer *buffers;