summaryrefslogtreecommitdiff
path: root/include/linux/device/driver.h
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2026-06-29 11:32:44 -0400
committerSteven Rostedt <rostedt@goodmis.org>2026-06-29 11:32:44 -0400
commita13905ac604cfd28fbda0815da16127bd4069bbe (patch)
tree81c6504a0aae2c7d7ea118c7aff71ec943035ca7 /include/linux/device/driver.h
parent56ece2fce5c00f577d92a376ba5dc4a2aa15925d (diff)
parentc35eb77a67515d4201bc91294f40761591f43bbd (diff)
downloadlinux-next-a13905ac604cfd28fbda0815da16127bd4069bbe.tar.gz
linux-next-a13905ac604cfd28fbda0815da16127bd4069bbe.zip
Merge tools/for-next
Diffstat (limited to 'include/linux/device/driver.h')
-rw-r--r--include/linux/device/driver.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/linux/device/driver.h b/include/linux/device/driver.h
index bbc67ec513ed..38048e74d10a 100644
--- a/include/linux/device/driver.h
+++ b/include/linux/device/driver.h
@@ -114,8 +114,8 @@ struct device_driver {
void (*shutdown) (struct device *dev);
int (*suspend) (struct device *dev, pm_message_t state);
int (*resume) (struct device *dev);
- const struct attribute_group **groups;
- const struct attribute_group **dev_groups;
+ const struct attribute_group *const *groups;
+ const struct attribute_group *const *dev_groups;
const struct dev_pm_ops *pm;
void (*coredump) (struct device *dev);
@@ -123,8 +123,8 @@ struct device_driver {
struct driver_private *p;
struct {
/*
- * Called after remove() and after all devres entries have been
- * processed. This is a Rust only callback.
+ * Called after remove() but before devres entries are released.
+ * This is a Rust only callback.
*/
void (*post_unbind_rust)(struct device *dev);
} p_cb;
@@ -160,8 +160,6 @@ int __must_check driver_create_file(const struct device_driver *driver,
void driver_remove_file(const struct device_driver *driver,
const struct driver_attribute *attr);
-int driver_set_override(struct device *dev, const char **override,
- const char *s, size_t len);
int __must_check driver_for_each_device(struct device_driver *drv, struct device *start,
void *data, device_iter_t fn);
struct device *driver_find_device(const struct device_driver *drv,