summaryrefslogtreecommitdiff
path: root/sys/dev/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/i2c')
-rw-r--r--sys/dev/i2c/files.i2c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/i2c/files.i2c b/sys/dev/i2c/files.i2c
index 318a45f4d52..525810c1c2e 100644
--- a/sys/dev/i2c/files.i2c
+++ b/sys/dev/i2c/files.i2c
@@ -1,8 +1,8 @@
-# $OpenBSD: files.i2c,v 1.5 2005/11/12 18:25:26 kettenis Exp $
+# $OpenBSD: files.i2c,v 1.6 2005/11/12 22:59:06 kettenis Exp $
# $NetBSD: files.i2c,v 1.3 2003/10/20 16:24:10 briggs Exp $
-define i2c {}
-device iic {addr, [size = -1]} : i2c
+define i2c {[addr = -1], [size = -1]}
+device iic: i2c
attach iic at i2cbus
file dev/i2c/i2c.c iic | i2cbus
file dev/i2c/i2c_exec.c iic | i2cbus | i2cexec