From f4ab1974fbec51307a7a929e99203da3e4251596 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 28 Mar 2006 14:31:06 -0300 Subject: Wrong version testing... fixed. From: Mauro Carvalho Chehab kernel-sync. Signed-off-by: Mauro Carvalho Chehab --- linux/sound/pci/bt87x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/sound') 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 -- cgit v1.2.3