summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bttv-cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-08-03 03:23:41 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-08-03 03:23:41 +0000
commite152bc2e0d215eeee2239eb9011b3b3abe243d1d (patch)
treed1d495a7c08b5502ad5350da7a8d9c528ee699fd /linux/drivers/media/video/bttv-cards.c
parent4de2cea7c9bf04f81356c796b05a4f5412085d10 (diff)
downloadmediapointer-dvb-s2-e152bc2e0d215eeee2239eb9011b3b3abe243d1d.tar.gz
mediapointer-dvb-s2-e152bc2e0d215eeee2239eb9011b3b3abe243d1d.tar.bz2
* scripts/buildpatch:
- treating MM_KERNEL as non-mm. * bttv-cards.c,bttv-driver.c: - no_overlay bttv insmod parameter now works. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/bttv-cards.c')
-rw-r--r--linux/drivers/media/video/bttv-cards.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/bttv-cards.c b/linux/drivers/media/video/bttv-cards.c
index 18bb3c831..85138fb8b 100644
--- a/linux/drivers/media/video/bttv-cards.c
+++ b/linux/drivers/media/video/bttv-cards.c
@@ -1,5 +1,5 @@
/*
- $Id: bttv-cards.c,v 1.62 2005/08/01 18:22:43 mkrufky Exp $
+ $Id: bttv-cards.c,v 1.63 2005/08/03 03:23:41 mchehab Exp $
bttv-cards.c
@@ -98,7 +98,7 @@ static int __devinit pvr_boot(struct bttv *btv);
static unsigned int triton1=0;
static unsigned int vsfx=0;
static unsigned int latency = UNSET;
-static unsigned int no_overlay=-1;
+unsigned int no_overlay=0;
static unsigned int card[BTTV_MAX] = { [ 0 ... (BTTV_MAX-1) ] = UNSET };
static unsigned int pll[BTTV_MAX] = { [ 0 ... (BTTV_MAX-1) ] = UNSET };
@@ -4589,7 +4589,7 @@ void __devinit bttv_check_chipset(void)
printk(KERN_INFO "bttv: Host bridge needs VSFX enabled.\n");
if (pcipci_fail) {
printk(KERN_WARNING "bttv: BT848 and your chipset may not work together.\n");
- if (UNSET == no_overlay) {
+ if (!no_overlay) {
printk(KERN_WARNING "bttv: going to disable overlay.\n");
no_overlay = 1;
}