summaryrefslogtreecommitdiff
path: root/include/linux/device
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2026-03-31 00:47:05 +0300
committerDave Airlie <airlied@redhat.com>2026-03-31 00:51:02 +0300
commitf6225b546dfccfc322b18c0d757b7b9c767a1e27 (patch)
tree14aee2a223e3f5e3e7850e6674d8367b4c835235 /include/linux/device
parenta51973c5dff8a0f01cc7d1b2007306ea0004fa16 (diff)
parent7aaa8047eafd0bd628065b15757d9b48c5f9c07d (diff)
downloadlinux-f6225b546dfccfc322b18c0d757b7b9c767a1e27.tar.xz
BackMerge tag 'v7.0-rc6' into drm-next
Linux 7.0-rc6 Requested by a few people on irc to resolve conflicts in other tress. Signed-off-by: Dave Airlie <airlied@redhat.com>
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;
};