summaryrefslogtreecommitdiff
path: root/include/linux/device
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2026-03-22 23:13:06 +0100
committerDanilo Krummrich <dakr@kernel.org>2026-03-22 23:13:33 +0100
commit14cf406e083c0541e40cd467ae8336ecceede09e (patch)
treeeed981730c340cf8b3a3369f9a0b3985e246ee25 /include/linux/device
parent9aa64d2503c6f5a803ff2990608312e5bdc6b0de (diff)
parentc369299895a591d96745d6492d4888259b004a9e (diff)
downloadlwn-14cf406e083c0541e40cd467ae8336ecceede09e.tar.gz
lwn-14cf406e083c0541e40cd467ae8336ecceede09e.zip
Merge tag 'v7.0-rc5' into driver-core-next
We need the driver-core fixes in here as well to build on top of. Signed-off-by: Danilo Krummrich <dakr@kernel.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;
};