diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-19 16:49:30 -0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-07 20:37:04 +0000 |
| commit | 6501ac11b90f1c9fe7208e95f69f80bf55286c3e (patch) | |
| tree | 196b0a0a22ce7dc1bc7ba277c63f53fafb143223 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | cb1c1224193e648b4108dd06ebb7cc86b5c514ad (diff) | |
siox: 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
siox_device_type and siox_master_type variables 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]>
Signed-off-by: "Ricardo B. Marliere" <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Acked-by: Thorsten Scherer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions