summaryrefslogtreecommitdiff
path: root/linux/sound/pci
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-03-28 14:31:06 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-28 14:31:06 -0300
commitf4ab1974fbec51307a7a929e99203da3e4251596 (patch)
tree7fe374beb38329fc72645a4cefc07663f26acb10 /linux/sound/pci
parentc599755e8210ed32a69a488d22dac0aca121fef5 (diff)
downloadmediapointer-dvb-s2-f4ab1974fbec51307a7a929e99203da3e4251596.tar.gz
mediapointer-dvb-s2-f4ab1974fbec51307a7a929e99203da3e4251596.tar.bz2
Wrong version testing... fixed.
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/sound/pci')
-rw-r--r--linux/sound/pci/bt87x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/sound/pci/bt87x.c b/linux/sound/pci/bt87x.c
index b74c0ec58..0f45028b3 100644
--- a/linux/sound/pci/bt87x.c
+++ b/linux/sound/pci/bt87x.c
@@ -821,7 +821,7 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci)
for (i = 0; i < ARRAY_SIZE(blacklist); ++i)
if (blacklist[i].subvendor == pci->subsystem_vendor &&
blacklist[i].subdevice == pci->subsystem_device) {
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,17)
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,16)
snd_printdd(KERN_INFO "card %#04x:%#04x has no audio\n",
pci->subsystem_vendor, pci->subsystem_device);
#else
@@ -831,7 +831,7 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci)
return -EBUSY;
}
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,17)
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,16)
snd_printk(KERN_INFO "unknown card %#04x:%#04x, using default rate 32000\n",
pci->subsystem_vendor, pci->subsystem_device);
#else