mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-03 12:52:52 +00:00
V4L/DVB (5162): Change VIDIOC_DBG_[SG]_REGISTER ioctls' reg address to 64 bits
Maybe someday there will be a device with a register address space > 32-bits, or maybe an i2c device which uses a protocol > 4 bytes long to address its registers. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
e19c55ffb9
commit
e7b58f5259
2 changed files with 5 additions and 3 deletions
|
@ -1276,8 +1276,8 @@ struct v4l2_streamparm
|
|||
|
||||
/* VIDIOC_DBG_G_REGISTER and VIDIOC_DBG_S_REGISTER */
|
||||
struct v4l2_register {
|
||||
__u64 reg;
|
||||
__u32 i2c_id; /* I2C driver ID of the I2C chip, or 0 for the host */
|
||||
__u32 reg;
|
||||
__u32 val;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue