Replace hard coded '0' with symbolic constant IIC_UNKNOWN to reflect what

we're actually doing.
This commit is contained in:
Warner Losh 2006-04-04 17:08:40 +00:00
parent a73b656763
commit b2f9074c9d

View file

@ -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: