diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-31 17:43:09 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-01-11 17:18:58 +0300 |
commit | d1f337375aedb2999bdca24b40ba6e5c1a796eb4 (patch) | |
tree | e6ca01b06c1d8cdc331f9cec6b0185a64a00efa5 /drivers/media/usb/au0828/au0828.h | |
parent | 49a11518f84c6fda6b2740e592ce53e1a22311a3 (diff) | |
download | linux-d1f337375aedb2999bdca24b40ba6e5c1a796eb4.tar.xz |
[media] au0828: add support for the connectors
Depending on the input, an au0828 may have a different
number of connectors. add entities to represent them.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/au0828/au0828.h')
-rw-r--r-- | drivers/media/usb/au0828/au0828.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/au0828/au0828.h b/drivers/media/usb/au0828/au0828.h index 3577b931157b..8276072bc55a 100644 --- a/drivers/media/usb/au0828/au0828.h +++ b/drivers/media/usb/au0828/au0828.h @@ -94,7 +94,6 @@ struct au0828_board { unsigned char has_ir_i2c:1; unsigned char has_analog:1; struct au0828_input input[AU0828_MAX_INPUT]; - }; struct au0828_dvb { @@ -282,6 +281,8 @@ struct au0828_dev { struct media_device *media_dev; struct media_pad video_pad, vbi_pad; struct media_entity *decoder; + struct media_entity input_ent[AU0828_MAX_INPUT]; + struct media_pad input_pad[AU0828_MAX_INPUT]; #endif }; |