OpenCloudOS-Kernel/drivers/char/xilinx_hwicap
Ivan Orlov 936cb492a1 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 <arnd@arndb.de>
Cc: Michal Simek <michal.simek@amd.com>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: Ivan Orlov <ivan.orlov0322@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20230620143751.578239-17-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-23 10:27:23 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
buffer_icap.c char: xilinx_hwicap: Remove pointless local variables 2017-01-25 11:41:44 +01:00
buffer_icap.h
fifo_icap.c xilinx_hwicap: cleanup comments 2022-02-25 12:08:57 +01:00
fifo_icap.h
xilinx_hwicap.c xilinx_hwicap: make icap_class a static const structure 2023-06-23 10:27:23 +02:00
xilinx_hwicap.h char: xilinx_hwicap: Fix warnings in the driver 2017-08-28 17:04:47 +02:00