patch-2.1.104 linux/drivers/isdn/avmb1/b1pci.c

Next file: linux/drivers/isdn/hisax/rawhdlc.c
Previous file: linux/drivers/isdn/act2000/act2000_isa.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.103/linux/drivers/isdn/avmb1/b1pci.c linux/drivers/isdn/avmb1/b1pci.c
@@ -87,7 +87,7 @@
 
 	printk(KERN_INFO "b1pci: revision %s\n", rev);
 
-	while (dev = pci_find_device(PCI_VENDOR_ID_AVM, PCI_DEVICE_ID_AVM_B1, dev)) {
+	while ((dev = pci_find_device(PCI_VENDOR_ID_AVM, PCI_DEVICE_ID_AVM_B1, dev))) {
 		unsigned int ioaddr = dev->base_address[1] & PCI_BASE_ADDRESS_IO_MASK;
 		unsigned int irq = dev->irq;
 		printk(KERN_INFO

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov