summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-acpi.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-02-16 01:12:25 +0000
committerBjorn Helgaas <bhelgaas@google.com>2023-02-16 12:00:25 -0600
commit1047377754c33bf860d80714f66fa4a8e56cbbec (patch)
treedd21d5ebe3b114f7e93bd316904d1c687045d3da /drivers/pci/pci-acpi.c
parentfd858402c6d0a80e0b543886b9f7865c6d76d5d6 (diff)
downloadlinux-stable-1047377754c33bf860d80714f66fa4a8e56cbbec.tar.gz
linux-stable-1047377754c33bf860d80714f66fa4a8e56cbbec.tar.bz2
linux-stable-1047377754c33bf860d80714f66fa4a8e56cbbec.zip
PCI/sysfs: Constify struct kobj_type pci_slot_ktype
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.") the driver core allows the usage of const struct kobj_type. Take advantage of this to constify the structure definition to prevent modification at runtime. Link: https://lore.kernel.org/r/20230216-kobj_type-pci-v1-1-46a63c8612b5@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci-acpi.c')
0 files changed, 0 insertions, 0 deletions