diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-18 19:25:51 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-03-06 21:07:39 +0000 |
| commit | 3606422a28593a33fc7d3b7e25c73bf9688194c6 (patch) | |
| tree | ef399c219d2b8e6f5a5659ed44d7fb2fcf304763 /lib/assoc_array.c | |
| parent | Normalise "name (ad@dr)" MODULE_AUTHORs to "name <ad@dr>" (diff) | |
| download | kernel-3606422a28593a33fc7d3b7e25c73bf9688194c6.tar.gz kernel-3606422a28593a33fc7d3b7e25c73bf9688194c6.zip | |
const_structs.checkpatch: add device_type
Since commit aed65af1cc2f ("drivers: make device_type const"), the driver
core can properly handle constant struct device_type. Make sure that new
usages of the struct already enter the tree as const.
Link: https://lkml.kernel.org/r/20240218-device_cleanup-checkpatch-v1-1-8b0b89c4f6b1@marliere.net
Signed-off-by: Ricardo B. Marliere <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions
