We need the driver-core fixes in here as well to build on top of.
Showing the changes to include/linux/device (1 of 332 files). Show all
Unified · Split
| @@ -65,6 +65,9 @@ struct fwnode_handle; · 64 unmodified lines | ||
| 65 | 65 | * this bus. |
| 66 | 66 | * @pm: Power management operations of this bus, callback the specific |
| 67 | 67 | * device driver's pm-ops. |
| 68 | + * @driver_override: Set to true if this bus supports the driver_override | |
| 69 | + * mechanism, which allows userspace to force a specific | |
| 70 | + * driver to bind to a device via a sysfs attribute. | |
| 68 | 71 | * @need_parent_lock: When probing or removing a device on this bus, the |
| 69 | 72 | * device core should lock the device's parent. |
| 70 | 73 | * |
| @@ -106,6 +109,7 @@ struct bus_type { · 35 unmodified lines | ||
| 106 | 109 | |
| 107 | 110 | const struct dev_pm_ops *pm; |
| 108 | 111 | |
| 112 | + bool driver_override; | |
| 109 | 113 | bool need_parent_lock; |
| 110 | 114 | }; |
| 111 | 115 | |