summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/base/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/base/base.h')
-rw-r--r--kernel/drivers/base/base.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/drivers/base/base.h b/kernel/drivers/base/base.h
index 251c5d30f..1782f3aa3 100644
--- a/kernel/drivers/base/base.h
+++ b/kernel/drivers/base/base.h
@@ -63,7 +63,7 @@ struct driver_private {
* binding of drivers which were unable to get all the resources needed by
* the device; typically because it depends on another driver getting
* probed first.
- * @device - pointer back to the struct class that this structure is
+ * @device - pointer back to the struct device that this structure is
* associated with.
*
* Nothing outside of the driver core should ever touch these fields.
@@ -116,6 +116,7 @@ static inline int driver_match_device(struct device_driver *drv,
{
return drv->bus->match ? drv->bus->match(dev, drv) : 1;
}
+extern bool driver_allows_async_probing(struct device_driver *drv);
extern int driver_add_groups(struct device_driver *drv,
const struct attribute_group **groups);
@@ -133,6 +134,7 @@ extern int devres_release_all(struct device *dev);
/* /sys/devices directory */
extern struct kset *devices_kset;
+extern void devices_kset_move_last(struct device *dev);
#if defined(CONFIG_MODULES) && defined(CONFIG_SYSFS)
extern void module_add_driver(struct module *mod, struct device_driver *drv);