aboutsummaryrefslogtreecommitdiff
path: root/include/linux/compiler_attributes.h
diff options
context:
space:
mode:
authorRicardo B. Marliere <ricardo@marliere.net>2024-02-03 11:58:02 -0300
committerHeiko Carstens <hca@linux.ibm.com>2024-02-09 13:58:16 +0100
commit5b431787548a46898be655d79420022c4f43274c (patch)
tree19bd2e3e86d65147a6d963d82ae0e3541599a7e6 /include/linux/compiler_attributes.h
parent7090dadbe72399ff6cb0a648736fc77414878a96 (diff)
downloadlinux-5b431787548a46898be655d79420022c4f43274c.tar.gz
linux-5b431787548a46898be655d79420022c4f43274c.tar.bz2
linux-5b431787548a46898be655d79420022c4f43274c.zip
s390/ap: make ap_bus_type const
Now that the driver core can properly handle constant struct bus_type, move the ap_bus_type variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: "Ricardo B. Marliere" <ricardo@marliere.net> Reviewed-by: Harald Freudenberger <freude@linux.ibm.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20240203-bus_cleanup-s390-v1-5-ac891afc7282@marliere.net Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions