mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
const_structs.checkpatch: add device_type
Since commit aed65af1cc ("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 <ricardo@marliere.net>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
6a57a21943
commit
3606422a28
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ comedi_lrange
|
|||
component_ops
|
||||
dentry_operations
|
||||
dev_pm_ops
|
||||
device_type
|
||||
dma_map_ops
|
||||
driver_info
|
||||
drm_connector_funcs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue