aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/scheduler/sched_main.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-02-19 16:48:28 -0300
committerOded Gabbay <[email protected]>2024-02-26 09:59:18 +0200
commit576d7cc5a9e29e4cc579ffb0f9afc209e34eea31 (patch)
tree5e3c6478b1a2db2441fed395560472a81b15d54c /drivers/gpu/drm/scheduler/sched_main.c
parentfa58b59493665e81454079ad372b11a0ed34bd2d (diff)
accel: constify the struct device_type usage
Since commit aed65af1cc2f ("drivers: make device_type const"), the driver core can properly handle constant struct device_type. Move the accel_sysfs_device_minor variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ricardo B. Marliere <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/scheduler/sched_main.c')
0 files changed, 0 insertions, 0 deletions