summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-04-04 17:08:40 +0000
committerimp <imp@FreeBSD.org>2006-04-04 17:08:40 +0000
commitacb89978ecef1ed5fd918752187ee4a43382482d (patch)
tree4491b4d8a2704e74bfeb31ca701c20a20fa5c4e5 /sys
parentcea41af9a0c8d6a0877d8cb4c7738fb8032b0e17 (diff)
downloadFreeBSD-src-acb89978ecef1ed5fd918752187ee4a43382482d.zip
FreeBSD-src-acb89978ecef1ed5fd918752187ee4a43382482d.tar.gz
Replace hard coded '0' with symbolic constant IIC_UNKNOWN to reflect what
we're actually doing.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/iicbus/iic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iicbus/iic.c b/sys/dev/iicbus/iic.c
index 3a879d8..9dd1431 100644
--- a/sys/dev/iicbus/iic.c
+++ b/sys/dev/iicbus/iic.c
@@ -276,7 +276,7 @@ iicioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *t
break;
case I2CRSTCARD:
- error = iicbus_reset(parent, 0, 0, NULL);
+ error = iicbus_reset(parent, IIC_UNKNOWN, 0, NULL);
break;
case I2CWRITE:
OpenPOWER on IntegriCloud