patch-2.4.7 linux/drivers/char/i810-tco.c
Next file: linux/drivers/char/ip2/i2cmd.c
Previous file: linux/drivers/char/h8.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Wed Jul 11 14:50:47 2001
- Orig file:
v2.4.6/linux/drivers/char/i810-tco.c
- Orig date:
Tue Jul 3 17:08:19 2001
diff -u --recursive --new-file v2.4.6/linux/drivers/char/i810-tco.c linux/drivers/char/i810-tco.c
@@ -261,11 +261,13 @@
*/
pci_for_each_dev(dev) {
- if (pci_match_device(i810tco_pci_tbl, dev))
+ if (pci_match_device(i810tco_pci_tbl, dev)) {
+ i810tco_pci = dev;
break;
+ }
}
- if ((i810tco_pci = dev)) {
+ if (i810tco_pci) {
/*
* Find the ACPI base I/O address which is the base
* for the TCO registers (TCOBASE=ACPIBASE + 0x60)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)