From 9aa6c43d4def3e381b869d7a7b6ce15f21e430b9 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Sat, 24 Mar 2007 14:23:50 -0400 Subject: bttv: automatically load dvb-bt8xx for bttv cards with dvb support From: Jarod Wilson 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 Signed-off-by: Michael Krufky --- linux/drivers/media/video/bt8xx/bttvp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux/drivers/media/video/bt8xx/bttvp.h') diff --git a/linux/drivers/media/video/bt8xx/bttvp.h b/linux/drivers/media/video/bt8xx/bttvp.h index a273c424b..eee6f5ae3 100644 --- a/linux/drivers/media/video/bt8xx/bttvp.h +++ b/linux/drivers/media/video/bt8xx/bttvp.h @@ -452,6 +452,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. */ -- cgit v1.2.3