summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-22 23:53:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-22 23:53:59 +0000
commited95771798cf9a118366c6a8ade9f774d161e5b3 (patch)
tree2da6bfecb20919401461b4177723d7851ca3f9db
parent16c553c6e3bd443f1eadf63c03fa8c03cfd46c9a (diff)
permit outsider to call iic_print
-rw-r--r--sys/dev/i2c/i2c.c3
-rw-r--r--sys/dev/i2c/i2cvar.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/i2c/i2c.c b/sys/dev/i2c/i2c.c
index 1cb87375a11..f2c39042448 100644
--- a/sys/dev/i2c/i2c.c
+++ b/sys/dev/i2c/i2c.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i2c.c,v 1.4 2005/12/20 05:42:32 grange Exp $ */
+/* $OpenBSD: i2c.c,v 1.5 2005/12/22 23:53:58 deraadt Exp $ */
/* $NetBSD: i2c.c,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */
/*
@@ -56,7 +56,6 @@ struct iic_softc {
int iic_match(struct device *, void *, void *);
void iic_attach(struct device *, struct device *, void *);
int iic_search(struct device *, void *, void *);
-int iic_print(void *, const char *);
struct cfattach iic_ca = {
sizeof (struct iic_softc),
diff --git a/sys/dev/i2c/i2cvar.h b/sys/dev/i2c/i2cvar.h
index 0081a2ae828..9cb01fb5dee 100644
--- a/sys/dev/i2c/i2cvar.h
+++ b/sys/dev/i2c/i2cvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: i2cvar.h,v 1.4 2005/12/20 05:42:32 grange Exp $ */
+/* $OpenBSD: i2cvar.h,v 1.5 2005/12/22 23:53:58 deraadt Exp $ */
/* $NetBSD: i2cvar.h,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */
/*
@@ -128,6 +128,7 @@ int iicbus_print(void *, const char *);
(*(ic)->ic_write_byte)((ic)->ic_cookie, (byte), (flags))
void iic_scan(struct device *, struct i2cbus_attach_args *);
+int iic_print(void *, const char *);
#endif /* _I2C_PRIVATE */
/*