diff options
-rw-r--r-- | sys/dev/iicbus/iicbb.c | 4 | ||||
-rw-r--r-- | sys/dev/iicbus/iiconf.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/iicbus/iicbb.c b/sys/dev/iicbus/iicbb.c index 436626c..c83f47c 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 a9e6d76..3a9e7e3 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 |