diff options
author | Dmitri Belimov <d.belimov@gmail.com> | 2010-03-23 10:23:29 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:50:24 -0400 |
commit | 85e092190b5f7dfe9b78556440472c5590a32b4e (patch) | |
tree | 95b38198c6b048d43fbda277ba6476eb9e8fbd55 /include/media/v4l2-subdev.h | |
parent | 443fed9fa42bbeacdb8d336b8a5002a262cac15c (diff) |
V4L/DVB: Add SPI support to V4L2
Add support SPI bus to v4l2. Useful for control some device with SPI bus like
hardware MPEG2 encoders and etc.
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-subdev.h')
-rw-r--r-- | include/media/v4l2-subdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index 2bcdca0a57fc..09758789be02 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h | |||
@@ -387,6 +387,8 @@ struct v4l2_subdev_ops { | |||
387 | 387 | ||
388 | /* Set this flag if this subdev is a i2c device. */ | 388 | /* Set this flag if this subdev is a i2c device. */ |
389 | #define V4L2_SUBDEV_FL_IS_I2C (1U << 0) | 389 | #define V4L2_SUBDEV_FL_IS_I2C (1U << 0) |
390 | /* Set this flag if this subdev is a spi device. */ | ||
391 | #define V4L2_SUBDEV_FL_IS_SPI (1U << 1) | ||
390 | 392 | ||
391 | /* Each instance of a subdev driver should create this struct, either | 393 | /* Each instance of a subdev driver should create this struct, either |
392 | stand-alone or embedded in a larger struct. | 394 | stand-alone or embedded in a larger struct. |