diff options
author | Steven Toth <stoth@hauppauge.com> | 2006-09-25 11:43:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-10-03 14:13:48 -0400 |
commit | 3057906df5c9be9c99a181eccac3bc40cf07ad9f (patch) | |
tree | 6a4abffff320d8a7e39cf78958489f40c121e43b /drivers/media/video/cx88/cx88-video.c | |
parent | ba7e6f3e3e639de2597afffaae3fda75f6e6082d (diff) |
V4L/DVB (4666): Ensure the WM8775 driver is loaded generically for any board.
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-video.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-video.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index fbc79e9842aa..cb0c0eea20f9 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-video.c | |||
@@ -1928,6 +1928,9 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev, | |||
1928 | if (TUNER_ABSENT != core->tuner_type) | 1928 | if (TUNER_ABSENT != core->tuner_type) |
1929 | request_module("tuner"); | 1929 | request_module("tuner"); |
1930 | 1930 | ||
1931 | if (cx88_boards[ core->board ].audio_chip == AUDIO_CHIP_WM8775) | ||
1932 | request_module("wm8775"); | ||
1933 | |||
1931 | /* register v4l devices */ | 1934 | /* register v4l devices */ |
1932 | dev->video_dev = cx88_vdev_init(core,dev->pci, | 1935 | dev->video_dev = cx88_vdev_init(core,dev->pci, |
1933 | &cx8800_video_template,"video"); | 1936 | &cx8800_video_template,"video"); |