summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-alsa.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-12-26 15:14:45 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-12-26 15:14:45 +0000
commit36c4f9aa4f767f3fb8bc9ab34fde31bc033f3e52 (patch)
tree1a9650285e3b45d306dc55426818df50b3028644 /linux/drivers/media/video/saa7134/saa7134-alsa.c
parent975fb44c7ba7ef7c157da0f2e2367a694077a99f (diff)
downloadmediapointer-dvb-s2-36c4f9aa4f767f3fb8bc9ab34fde31bc033f3e52.tar.gz
mediapointer-dvb-s2-36c4f9aa4f767f3fb8bc9ab34fde31bc033f3e52.tar.bz2
Make late module load fix looking the same as kernel version.
kernel-sync. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-alsa.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-alsa.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-alsa.c b/linux/drivers/media/video/saa7134/saa7134-alsa.c
index 5761c38cd..c448cb158 100644
--- a/linux/drivers/media/video/saa7134/saa7134-alsa.c
+++ b/linux/drivers/media/video/saa7134/saa7134-alsa.c
@@ -1,7 +1,7 @@
/*
* SAA713x ALSA support for V4L
*
- * $Id: saa7134-alsa.c,v 1.33 2005/12/21 22:47:35 rmcc Exp $
+ * $Id: saa7134-alsa.c,v 1.34 2005/12/26 15:14:45 mchehab Exp $
*
* Caveats:
* - Volume doesn't work (it's always at max)
@@ -1046,12 +1046,7 @@ static void saa7134_alsa_exit(void)
return;
}
-/*
- This is here as a temporary fix until the sound core is loaded earlier
- in the boot process. It should be
-module_init(saa7134_alsa_init);
-*/
-
+/* We initialize this late, to make sure the sound system is up and running */
late_initcall(saa7134_alsa_init);
module_exit(saa7134_alsa_exit);
MODULE_LICENSE("GPL");