]> asedeno.scripts.mit.edu Git - linux.git/commit
media: ddbridge/mci: make ddb_mci_cmd() and ddb_mci_config() public
authorDaniel Scheller <d.scheller@gmx.net>
Sat, 23 Jun 2018 15:36:10 +0000 (11:36 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 30 Jul 2018 20:23:12 +0000 (16:23 -0400)
commit84409a95bbae75c5396c6db9ac43f1d1626d6b75
tree67a5b6f409b3fa3930485528f4772f7ac51c460e
parent07b12de21258e1d96445572100961d1d42b1b7f7
media: ddbridge/mci: make ddb_mci_cmd() and ddb_mci_config() public

In preparation for splitting all MaxSX8 related code parts from the common
MCI code, prefix both mci_cmd() and mci_config() functions with ddb_,
remove the static marking and add matching function prototypes to
ddbridge-mci.h so these functions can be reused from other files within
the ddbridge driver. As this requires the mci-related structs to be
defined in ddbridge-mci.h, move struct mci and struct mci_base there and
clean them up.

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>
drivers/media/pci/ddbridge/ddbridge-mci.c
drivers/media/pci/ddbridge/ddbridge-mci.h