PCI: Annotate pci_cache_line_size variables as __ro_after_init
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 18 Apr 2024 18:29:21 +0000 (20:29 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 18 Apr 2024 18:46:19 +0000 (13:46 -0500)
commitc7ae396ec597b2f3644f90f5c7278674b0527aa9
tree9b65c014d6d047a02e5fa2e4a846505e2e466e96
parente30556bf682d36a88cc5aef98d1123ca71adb245
PCI: Annotate pci_cache_line_size variables as __ro_after_init

Annotate both variables as __ro_after_init, enforcing that they can't be
changed after the init phase.

Link: https://lore.kernel.org/r/52fd058d-6d72-48db-8e61-5fcddcd0aa51@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c