diff options
-rw-r--r-- | share/man/man9/driver.9 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/share/man/man9/driver.9 b/share/man/man9/driver.9 index 03c9d77..fa64a1a 100644 --- a/share/man/man9/driver.9 +++ b/share/man/man9/driver.9 @@ -45,7 +45,7 @@ static int foo_detach(device_t); static int foo_frob(device_t, int, int); static int foo_twiddle(device_t, char *); -static struct device_method foo_methods[] = { +static struct device_method_t foo_methods[] = { /* Methods from the device interface */ DEVMETHOD(device_probe, foo_probe), DEVMETHOD(device_attach, foo_attach), @@ -62,8 +62,7 @@ static struct device_method foo_methods[] = { static driver_t foo_driver { "foo", foo_methods, - DRIVER_TYPE_MISC, - sizeof(struct foo_softc), + sizeof(struct foo_softc) }; static devclass_t foo_devclass; |