diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-09-04 14:17:23 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-01-10 14:25:01 +0000 |
| commit | 896be785015c0e0ba73442f73b8d4d9f5ccfc54c (patch) | |
| tree | aae287cf03adc163d2f440c591371e7986908107 /drivers/base/class.c | |
| parent | miscdevice: rust: use build_error! macro instead of function (diff) | |
| download | kernel-896be785015c0e0ba73442f73b8d4d9f5ccfc54c.tar.gz kernel-896be785015c0e0ba73442f73b8d4d9f5ccfc54c.zip | |
bus: fsl-mc: 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 all the
device_type variables used in the bus to be constant structures as well,
placing it into read-only memory which can not be modified at runtime.
Cc: Greg Kroah-Hartman <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/class.c')
0 files changed, 0 insertions, 0 deletions
