summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-video.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2006-09-25 12:43:42 -0300
committerSteven Toth <stoth@hauppauge.com>2006-09-25 12:43:42 -0300
commit9092a672ca84b9625c2f7ed1ec5479505baffdb0 (patch)
tree6ff375ac67fc96c4eb5f7a7b8022f7c65367ccae /linux/drivers/media/video/cx88/cx88-video.c
parent100ebe4cb9402ad48873d719f4d66de1aeb4d555 (diff)
downloadmediapointer-dvb-s2-9092a672ca84b9625c2f7ed1ec5479505baffdb0.tar.gz
mediapointer-dvb-s2-9092a672ca84b9625c2f7ed1ec5479505baffdb0.tar.bz2
Ensure the WM8775 driver is loaded generically for any board.
From: Steven Toth <stoth@hauppauge.com> A generic change to cards to allow any board to specify whether it needs the wm8775 module loaded (by the core) or not. Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-video.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-video.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c
index 836f0e7a5..9782a3799 100644
--- a/linux/drivers/media/video/cx88/cx88-video.c
+++ b/linux/drivers/media/video/cx88/cx88-video.c
@@ -2225,6 +2225,9 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev,
if (TUNER_ABSENT != core->tuner_type)
request_module("tuner");
+ if (cx88_boards[ core->board ].audio_chip == AUDIO_CHIP_WM8775)
+ request_module("wm8775");
+
/* register v4l devices */
dev->video_dev = cx88_vdev_init(core,dev->pci,
&cx8800_video_template,"video");