diff options
author | Ivan Orlov <[email protected]> | 2023-06-20 16:37:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-06-23 10:27:23 +0200 |
commit | 936cb492a13e767c63b75ab84fd321682a18f9a5 (patch) | |
tree | e4fce1f9a51c21218b1b93ec62bf95773a91cfff /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 11680fdf29cec560987fc8f6d290a5bfdb73e4e4 (diff) |
xilinx_hwicap: make icap_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the icap_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at load time.
Cc: Arnd Bergmann <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Benjamin Tissoires <[email protected]>
Cc: Ivan Orlov <[email protected]>
Cc: [email protected]
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ivan Orlov <[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