summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-23 15:53:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-23 15:53:36 +0000
commit0860d98452f8aeb69fdcd4f6bcf9dfc8a485549e (patch)
treec4005a05bbee5750350ba6658c4b02a07cb77031 /sys/dev
parent587693140fcf7edde432349190cc575b58627249 (diff)
set both ia_name and ia_compat
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/i2c/i2c_scan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c
index 691ea0e74ee..6d5978b3926 100644
--- a/sys/dev/i2c/i2c_scan.c
+++ b/sys/dev/i2c/i2c_scan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i2c_scan.c,v 1.7 2005/12/23 15:09:37 deraadt Exp $ */
+/* $OpenBSD: i2c_scan.c,v 1.8 2005/12/23 15:53:35 deraadt Exp $ */
/*
* Copyright (c) 2005 Alexander Yurchenko <grange@openbsd.org>
@@ -208,7 +208,7 @@ iic_probe(struct device *self, struct i2cbus_attach_args *iba, u_int8_t addr)
ia.ia_addr = addr;
ia.ia_size = 1;
ia.ia_name = name;
- ia.ia_compat = NULL;
+ ia.ia_compat = name;
config_found(self, &ia, iic_print);
}
}