summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx/bttvp.h
diff options
context:
space:
mode:
authorJarod Wilson <jwilson@redhat.com>2007-03-24 15:23:50 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 15:45:14 -0300
commitf992a497c71981e215b1415759fc13593ed2919f (patch)
tree7bcf199c6c004f592ce85518eacf32ed4cfbacc5 /drivers/media/video/bt8xx/bttvp.h
parentfbc8408a0d9deeba8926e041db0bb1ef7f1b2cd6 (diff)
downloadlinux-f992a497c71981e215b1415759fc13593ed2919f.tar.gz
linux-f992a497c71981e215b1415759fc13593ed2919f.tar.bz2
linux-f992a497c71981e215b1415759fc13593ed2919f.zip
V4L/DVB (5482): Bttv: automatically load dvb-bt8xx for bttv cards with dvb
This patch causes the bttv driver to automatically load the dvb-bt8xx module for bttv/dvb hybrid cards. Successfully tested with a pcHDTV HD-2000 card. This patch is based on the recent patches to enable autoloading of cx88-dvb, cx88-blackbird and saa7134-dvb. Signed-off-by: Jarod Wilson <jwilson@redhat.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bt8xx/bttvp.h')
-rw-r--r--drivers/media/video/bt8xx/bttvp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/bt8xx/bttvp.h b/drivers/media/video/bt8xx/bttvp.h
index ad79b8d53430..8f44f02029be 100644
--- a/drivers/media/video/bt8xx/bttvp.h
+++ b/drivers/media/video/bt8xx/bttvp.h
@@ -434,6 +434,9 @@ struct bttv {
unsigned int users;
struct bttv_fh init;
+ /* used to make dvb-bt8xx autoloadable */
+ struct work_struct request_module_wk;
+
/* Default (0) and current (1) video capturing and overlay
cropping parameters in bttv_tvnorm.cropcap units. Protected
by bttv.lock. */