From b2f9074c9d71bd80a773463ee192d323b06ad82b Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 4 Apr 2006 17:08:40 +0000 Subject: [PATCH] Replace hard coded '0' with symbolic constant IIC_UNKNOWN to reflect what we're actually doing. --- sys/dev/iicbus/iic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/iicbus/iic.c b/sys/dev/iicbus/iic.c index 3a879d8d0d3..9dd1431dbc0 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: