summaryrefslogtreecommitdiff
path: root/include/linux/device
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2026-02-05 12:33:06 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2026-02-05 12:33:06 +0300
commit2bebc88d5e37ddcb5ea5039a39f39527662b27f0 (patch)
treecd7213334fe604969486b693e44750fe19ecd925 /include/linux/device
parent96f30ee0fb9db1663eb8fd55c12e4c67da8c4a90 (diff)
parent3cc9398a9ea69b77de01b370463b706c354e52fb (diff)
downloadlinux-2bebc88d5e37ddcb5ea5039a39f39527662b27f0.tar.xz
Merge drm/drm-next into drm-misc-next
Backmerging to get bug fixes from v6.19-rc7. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Diffstat (limited to 'include/linux/device')
-rw-r--r--include/linux/device/driver.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/device/driver.h b/include/linux/device/driver.h
index cd8e0f0a634b..bbc67ec513ed 100644
--- a/include/linux/device/driver.h
+++ b/include/linux/device/driver.h
@@ -85,6 +85,8 @@ enum probe_type {
* uevent.
* @p: Driver core's private data, no one other than the driver
* core can touch this.
+ * @p_cb: Callbacks private to the driver core; no one other than the
+ * driver core is allowed to touch this.
*
* The device driver-model tracks all of the drivers known to the system.
* The main reason for this tracking is to enable the driver core to match
@@ -119,6 +121,13 @@ struct device_driver {
void (*coredump) (struct device *dev);
struct driver_private *p;
+ struct {
+ /*
+ * Called after remove() and after all devres entries have been
+ * processed. This is a Rust only callback.
+ */
+ void (*post_unbind_rust)(struct device *dev);
+ } p_cb;
};