summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/files.i2c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2005-11-12 22:59:07 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2005-11-12 22:59:07 +0000
commit3b2cc71adc16f4c64a96621747740718e67c9b81 (patch)
tree2434e69a72743decd0608e659cbb6fa81a633711 /sys/dev/i2c/files.i2c
parent6c00f4845f410681f736013e8139d721a201d747 (diff)
Unbreak i386.
Diffstat (limited to 'sys/dev/i2c/files.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