diff options
author | Greg Kroah-Hartman <[email protected]> | 2024-07-08 10:15:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-07-10 09:36:02 +0200 |
commit | ab7a880263c30b1675850a584c206770f5545c2f (patch) | |
tree | dfde1a68789354fb648e6de1fc19c49804e27dfb /rust/kernel/alloc/allocator.rs | |
parent | a23b018c3bf646274f02edd46bf448c20c826d94 (diff) |
driver core: make driver_[create|remove]_file take a const *
The functions driver_create_file() and driver_remove_file() do not
modify the struct device_driver structure directly, so they are safe to
be marked as a constant pointer type.
Cc: "Rafael J. Wysocki" <[email protected]>
Link: https://lore.kernel.org/r/2024070844-volley-hatchling-c812@gregkh
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/kernel/alloc/allocator.rs')
0 files changed, 0 insertions, 0 deletions