summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-05-06 20:47:57 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-06 20:47:57 +0200
commitc0f1fe00c3923135b2c2f443448585482da8a53e (patch)
tree325ab2d2b36553b6319a3a995c6c0cc5cb3a110c
parentInclude <linux/types.h> and use __uXX types in <linux/cramfs_fs.h> (diff)
downloadlinux-c0f1fe00c3923135b2c2f443448585482da8a53e.tar.xz
linux-c0f1fe00c3923135b2c2f443448585482da8a53e.zip
Revert include/media changes: Mauro says those ioctls are only used in-kernel(!)
Reverts commit eba7f3bdb6344adee8a3d044f405ed38f5c66c6b Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--include/media/v4l2-common.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h
index daa2de1784f1..642520acdfa7 100644
--- a/include/media/v4l2-common.h
+++ b/include/media/v4l2-common.h
@@ -82,19 +82,19 @@ extern void v4l_printk_ioctl_arg(char *s,unsigned int cmd, void *arg);
/* VIDIOC_INT_G_REGISTER and VIDIOC_INT_S_REGISTER */
struct v4l2_register {
- __u32 i2c_id; /* I2C driver ID of the I2C chip. 0 for the I2C adapter. */
+ u32 i2c_id; /* I2C driver ID of the I2C chip. 0 for the I2C adapter. */
unsigned long reg;
- __u32 val;
+ u32 val;
};
/* VIDIOC_INT_DECODE_VBI_LINE */
struct v4l2_decode_vbi_line {
- __u32 is_second_field; /* Set to 0 for the first (odd) field,
+ u32 is_second_field; /* Set to 0 for the first (odd) field,
set to 1 for the second (even) field. */
- __u8 *p; /* Pointer to the sliced VBI data from the decoder.
+ u8 *p; /* Pointer to the sliced VBI data from the decoder.
On exit points to the start of the payload. */
- __u32 line; /* Line number of the sliced VBI data (1-23) */
- __u32 type; /* VBI service type (V4L2_SLICED_*). 0 if no service found */
+ u32 line; /* Line number of the sliced VBI data (1-23) */
+ u32 type; /* VBI service type (V4L2_SLICED_*). 0 if no service found */
};
/* VIDIOC_INT_G_CHIP_IDENT: identifies the actual chip installed on the board */
@@ -193,8 +193,8 @@ enum v4l2_chip_ident {
/* Routing definition, device dependent. It specifies which inputs (if any)
should be routed to which outputs (if any). */
struct v4l2_routing {
- __u32 input;
- __u32 output;
+ u32 input;
+ u32 output;
};
/* These internal commands should be used to define the inputs and outputs