linux/drivers/hwtracing
Ricardo B. Marliere 4dcc0f95ca coresight: constify the struct device_type usage
Since commit aed65af1cc ("drivers: make device_type const"), the driver
core can properly handle constant struct device_type. Move the
coresight_dev_type 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 <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: James Clark <james.clark@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20240219-device_cleanup-coresight-v1-1-4a8a0b816183@marliere.net
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
2024-06-21 10:24:43 +01:00
..
coresight coresight: constify the struct device_type usage 2024-06-21 10:24:43 +01:00
intel_th Char/Misc and other driver subsystem changes for 6.10-rc1 2024-05-22 12:26:46 -07:00
ptt hwtracing: hisi_ptt: Assign parent for event_source device 2024-05-02 11:36:11 +01:00
stm stm class: sys-t: Improve ftrace source handling 2024-05-04 18:57:21 +02:00
Kconfig hwtracing: hisi_ptt: Add trace function support for HiSilicon PCIe Tune and Trace device 2022-09-08 16:26:17 -06:00