diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2013-05-14 21:54:44 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-07-26 18:33:10 +0200 |
commit | cd2e34ead8bf530c45e0446dc4bbbd9e35f28af9 (patch) | |
tree | 615c4ac4d10a8d48b485a7bb49a37827e7cdc354 /drivers/media/pci/bt8xx/bttvp.h | |
parent | [media] tea575x-tuner: move HW init to a separate function (diff) | |
download | linux-cd2e34ead8bf530c45e0446dc4bbbd9e35f28af9.tar.xz linux-cd2e34ead8bf530c45e0446dc4bbbd9e35f28af9.zip |
[media] bttv: stop abusing mbox_we for sw_status
Kodicom 4400R and Geovision GV-800 code in bttv driver abuses mbox_we (int)
in struct bttv as char *.
Remove this hack and add a proper sw_status array to struct bttv instead.
This is a a preparation to remove mbox_we.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/pci/bt8xx/bttvp.h')
-rw-r--r-- | drivers/media/pci/bt8xx/bttvp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/pci/bt8xx/bttvp.h b/drivers/media/pci/bt8xx/bttvp.h index 9c1cc2c50ee2..6eefb595d0fa 100644 --- a/drivers/media/pci/bt8xx/bttvp.h +++ b/drivers/media/pci/bt8xx/bttvp.h @@ -459,6 +459,9 @@ struct bttv { int mbox_iow; int mbox_csel; + /* switch status for multi-controller cards */ + char sw_status[4]; + /* risc memory management data - must acquire s_lock before changing these - only the irq handler is supported to touch top + bottom + vcurr */ |