diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2023-06-20 16:37:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-23 10:27:23 +0200 |
commit | 936cb492a13e767c63b75ab84fd321682a18f9a5 (patch) | |
tree | e4fce1f9a51c21218b1b93ec62bf95773a91cfff /drivers/char/adi.c | |
parent | virtio_console: make port class a static const structure (diff) | |
download | linux-936cb492a13e767c63b75ab84fd321682a18f9a5.tar.xz linux-936cb492a13e767c63b75ab84fd321682a18f9a5.zip |
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>
Diffstat (limited to 'drivers/char/adi.c')
0 files changed, 0 insertions, 0 deletions