[PATCH] coresight: constify the struct device_type usage

Suzuki K Poulose suzuki.poulose at arm.com
Fri Jun 21 02:30:31 PDT 2024


On Mon, 19 Feb 2024 10:43:05 -0300, Ricardo B. Marliere wrote:
> Since commit aed65af1cc2f ("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.
> 
> 

Applied, thanks!

[1/1] coresight: constify the struct device_type usage
      https://git.kernel.org/coresight/c/4dcc0f95ca2a9738e5e4e3bd7571fd95a9cbf272

Best regards,
-- 
Suzuki K Poulose <suzuki.poulose at arm.com>



More information about the linux-arm-kernel mailing list