summaryrefslogtreecommitdiff
path: root/include/linux/device
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-04-06 10:06:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-04-06 10:06:39 +0300
commit3723393cc284e09107c0f55c47458b75b29be2c3 (patch)
tree185380308f3c57ac61e339d73f530639e2241451 /include/linux/device
parent1df7a7652f032cf1abe1c102a031c2128e24c31d (diff)
parent591cd656a1bf5ea94a222af5ef2ee76df029c1d2 (diff)
downloadlinux-3723393cc284e09107c0f55c47458b75b29be2c3.tar.xz
Merge tag 'v7.0-rc7' into usb-next
We need the USB fixes in here to build on and for testing Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device')
-rw-r--r--include/linux/device/bus.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/device/bus.h b/include/linux/device/bus.h
index 63de5f053c33..c1b463cd6464 100644
--- a/include/linux/device/bus.h
+++ b/include/linux/device/bus.h
@@ -65,6 +65,9 @@ struct fwnode_handle;
* this bus.
* @pm: Power management operations of this bus, callback the specific
* device driver's pm-ops.
+ * @driver_override: Set to true if this bus supports the driver_override
+ * mechanism, which allows userspace to force a specific
+ * driver to bind to a device via a sysfs attribute.
* @need_parent_lock: When probing or removing a device on this bus, the
* device core should lock the device's parent.
*
@@ -106,6 +109,7 @@ struct bus_type {
const struct dev_pm_ops *pm;
+ bool driver_override;
bool need_parent_lock;
};