summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/ddbridge/ddbridge-hw.c
diff options
context:
space:
mode:
authorDaniel Scheller <d.scheller@gmx.net>2018-06-23 11:36:09 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-30 16:23:12 -0400
commit07b12de21258e1d96445572100961d1d42b1b7f7 (patch)
treeb1a44479d3ee20bf59fb77e9192f02dc975a74b2 /drivers/media/pci/ddbridge/ddbridge-hw.c
parent6094cbed4e7bee130f8b29c9a174bc336d19990b (diff)
downloadtalos-op-linux-07b12de21258e1d96445572100961d1d42b1b7f7.tar.gz
talos-op-linux-07b12de21258e1d96445572100961d1d42b1b7f7.zip
media: ddbridge/mci: store mci type and number of ports in the hwinfo
For better support for future MCI based cards, rename the mci struct member to mci_ports to carry the number of ports on the cards, and add a mci_type member to identify the card type to handle differing hardware. Picked up from the upstream dddvb GIT. Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/pci/ddbridge/ddbridge-hw.c')
-rw-r--r--drivers/media/pci/ddbridge/ddbridge-hw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/pci/ddbridge/ddbridge-hw.c b/drivers/media/pci/ddbridge/ddbridge-hw.c
index 1d3ee6accdd5..f3cbac07b41f 100644
--- a/drivers/media/pci/ddbridge/ddbridge-hw.c
+++ b/drivers/media/pci/ddbridge/ddbridge-hw.c
@@ -318,7 +318,8 @@ static const struct ddb_info ddb_s2x_48 = {
.port_num = 4,
.i2c_mask = 0x00,
.tempmon_irq = 24,
- .mci = 4
+ .mci_ports = 4,
+ .mci_type = 0,
};
/****************************************************************************/
OpenPOWER on IntegriCloud