summaryrefslogtreecommitdiff
path: root/include/linux/device
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-26 14:04:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-26 14:04:04 +0300
commitdbd91d4f55ac4917b0b7f48b02eb8539805d0c85 (patch)
treee518b35ed82874fd4b2f8edfb7e6da6c0995fe40 /include/linux/device
parentec833566da57811d9fa3f11745e7153d9155ad66 (diff)
parent63804fed149a6750ffd28610c5c1c98cce6bd377 (diff)
downloadlinux-dbd91d4f55ac4917b0b7f48b02eb8539805d0c85.tar.xz
Merge 6.19-rc7 into char-misc-next
We need the char/misc/iio fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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;
};