Commit 3606422a authored by Ricardo B. Marliere's avatar Ricardo B. Marliere Committed by Andrew Morton

const_structs.checkpatch: add device_type

Since commit aed65af1 ("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.netSigned-off-by: default avatarRicardo B. Marliere <ricardo@marliere.net>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 6a57a219
...@@ -8,6 +8,7 @@ comedi_lrange ...@@ -8,6 +8,7 @@ comedi_lrange
component_ops component_ops
dentry_operations dentry_operations
dev_pm_ops dev_pm_ops
device_type
dma_map_ops dma_map_ops
driver_info driver_info
drm_connector_funcs drm_connector_funcs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment