summaryrefslogtreecommitdiff
path: root/include/linux/device/bus.h
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2026-04-15 22:40:47 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-04-15 22:44:00 -0700
commit9a683fe0a00d2684ae874fd9eb58e6c1864fdf36 (patch)
tree90d434afc722307a59cc9b1b7d20df5ecf9199af /include/linux/device/bus.h
parent841dbf4871c57ce2da18c4ea7ffac5487d0eda16 (diff)
parent7aaa8047eafd0bd628065b15757d9b48c5f9c07d (diff)
Merge tag 'v7.0-rc6' into perf-tools
To get the latest updates and fixes. Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'include/linux/device/bus.h')
-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;
};