diff options
-rw-r--r-- | sys/dev/i2c/i2c_scan.c | 4 |
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); } } |