aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iicbus
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>2003-06-19 02:50:08 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>2003-06-19 02:50:08 +0000
commit9c77e81b5d2dc59c72409348ad86fde8197b46c0 (patch)
tree65504d5f7319f87a1bdbd8227c644c3871d4fc07 /sys/dev/iicbus
parent94040887eeb9aaabc70006b4aa757f60d9ffce0f (diff)
Notes
Diffstat (limited to 'sys/dev/iicbus')
-rw-r--r--sys/dev/iicbus/iicbb.c4
-rw-r--r--sys/dev/iicbus/iiconf.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/iicbus/iicbb.c b/sys/dev/iicbus/iicbb.c
index 436626cce030..c83f47c1a6fa 100644
--- a/sys/dev/iicbus/iicbb.c
+++ b/sys/dev/iicbus/iicbb.c
@@ -96,13 +96,13 @@ static device_method_t iicbb_methods[] = {
{ 0, 0 }
};
-static driver_t iicbb_driver = {
+driver_t iicbb_driver = {
"iicbb",
iicbb_methods,
sizeof(struct iicbb_softc),
};
-static devclass_t iicbb_devclass;
+devclass_t iicbb_devclass;
static int iicbb_probe(device_t dev)
{
diff --git a/sys/dev/iicbus/iiconf.h b/sys/dev/iicbus/iiconf.h
index a9e6d76e7bfa..3a9e7e34807f 100644
--- a/sys/dev/iicbus/iiconf.h
+++ b/sys/dev/iicbus/iiconf.h
@@ -132,6 +132,9 @@ extern u_char iicbus_get_addr(device_t);
#define IICBUS_MAXVER 1
#define IICBUS_PREFVER IICBUS_MODVER
+extern driver_t iicbb_driver;
+extern devclass_t iicbb_devclass;
+
#define IICBB_MODVER 1
#define IICBB_MINVER 1
#define IICBB_MAXVER 1