summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/pci.c')
-rw-r--r--sys/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/pci.c b/sys/pci/pci.c
index a1b295b..399cfe6 100644
--- a/sys/pci/pci.c
+++ b/sys/pci/pci.c
@@ -957,7 +957,7 @@ int pci_register_lkm (struct pci_device *dvp, int if_revision)
{
struct pci_lkm *lkm;
- if (if_version != 0) {
+ if (if_revision != 0) {
return -1;
}
OpenPOWER on IntegriCloud