summaryrefslogtreecommitdiff
path: root/include/linux/device
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-01-08 22:37:07 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-26 22:09:57 +0300
commit9ebcf66cd6bcaa6c8275c18b7799507156361218 (patch)
tree69003659880a536e752966e32eeec3c52e388920 /include/linux/device
parent45b2b84ac6fde39c427018d6cdf7d44258938faa (diff)
parent453a4a5f97f0c95b7df458e6afb98d4ab057d90b (diff)
downloadlinux-9ebcf66cd6bcaa6c8275c18b7799507156361218.tar.xz
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR (net-7.0-rc6). No conflicts, or adjacent changes. Signed-off-by: Jakub Kicinski <kuba@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;
};