diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-10 10:20:53 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-06-10 22:03:30 +0200 |
commit | 8a74e4eaa72c14f997df6d820effb6aac400d470 (patch) | |
tree | 2a50deb46848ba635da1f690a8e6e1813b5252de /drivers/tty/tty_buffer.c | |
parent | Linux 6.10-rc1 (diff) | |
download | linux-8a74e4eaa72c14f997df6d820effb6aac400d470.tar.xz linux-8a74e4eaa72c14f997df6d820effb6aac400d470.zip |
PCI: switchtec: Make switchtec_class constant
Now that the driver core allows for struct class to be in read-only memory,
we should make all 'class' structures declared at build time placing them
into read-only memory, instead of having to be dynamically allocated at
runtime.
Link: https://lore.kernel.org/r/2024061053-online-unwound-b173@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-By: Logan Gunthorpe <logang@deltatee.com>
Cc: Kurt Schwemmer <kurt.schwemmer@microsemi.com>
Cc: Jon Mason <jdmason@kudzu.us>
Cc: Allen Hubbe <allenbh@gmail.com>
Diffstat (limited to 'drivers/tty/tty_buffer.c')
0 files changed, 0 insertions, 0 deletions