diff options
author | imp <imp@FreeBSD.org> | 2009-06-09 23:24:04 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-06-09 23:24:04 +0000 |
commit | 2f4822fe6a588a42b3c47a89e716c0c09efdd7c3 (patch) | |
tree | a5feb43b2dddf45930960e46b4ba202da5ccd351 /sys/kern | |
parent | b866c53242e4d408f6322cdfc6469df44262e2de (diff) | |
download | FreeBSD-src-2f4822fe6a588a42b3c47a89e716c0c09efdd7c3.zip FreeBSD-src-2f4822fe6a588a42b3c47a89e716c0c09efdd7c3.tar.gz |
As discussed on arch@, restire
devclass_{add,delete,find,quiesce}_driver. They aren't needed or used
and complicate locking newbus.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_bus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c index c856063..2ee25d3 100644 --- a/sys/kern/subr_bus.c +++ b/sys/kern/subr_bus.c @@ -999,7 +999,7 @@ devclass_driver_added(devclass_t dc, driver_t *driver) * @param dc the devclass to edit * @param driver the driver to register */ -int +static int devclass_add_driver(devclass_t dc, driver_t *driver, int pass) { driverlink_t dl; @@ -1052,7 +1052,7 @@ devclass_add_driver(devclass_t dc, driver_t *driver, int pass) * @param dc the devclass to edit * @param driver the driver to unregister */ -int +static int devclass_delete_driver(devclass_t busclass, driver_t *driver) { devclass_t dc = devclass_find(driver->name); @@ -1127,7 +1127,7 @@ devclass_delete_driver(devclass_t busclass, driver_t *driver) * @param dc the devclass to edit * @param driver the driver to unregister */ -int +static int devclass_quiesce_driver(devclass_t busclass, driver_t *driver) { devclass_t dc = devclass_find(driver->name); @@ -1208,7 +1208,7 @@ devclass_find_driver_internal(devclass_t dc, const char *classname) * @param dc the devclass to search * @param classname the driver name to search for */ -kobj_class_t +static kobj_class_t devclass_find_driver(devclass_t dc, const char *classname) { driverlink_t dl; |