diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-07-05 09:32:15 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-07-05 09:32:15 +0000 |
commit | 450c5656f891969bd31d37eef870c7783755164a (patch) | |
tree | f9550e6149d8cb2b6e2e2b83f0560dd6dab63cbc | |
parent | ac2d3a887b715ea4e69bbafe2979cb9219103bcc (diff) |
Provide a forward declaration of struct device.
ok deraadt@
-rw-r--r-- | sys/dev/i2c/i2cvar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/i2c/i2cvar.h b/sys/dev/i2c/i2cvar.h index fc43ac9f5be..d08de1edc60 100644 --- a/sys/dev/i2c/i2cvar.h +++ b/sys/dev/i2c/i2cvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: i2cvar.h,v 1.10 2006/02/08 23:15:58 dlg Exp $ */ +/* $OpenBSD: i2cvar.h,v 1.11 2013/07/05 09:32:14 kettenis Exp $ */ /* $NetBSD: i2cvar.h,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */ /* @@ -41,6 +41,8 @@ #include <dev/i2c/i2c_io.h> +struct device; + /* Flags passed to i2c routines. */ #define I2C_F_WRITE 0x00 /* new transfer is a write */ #define I2C_F_READ 0x01 /* new transfer is a read */ |