aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/pci_endpoint_test.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2023-02-16 01:12:25 +0000
committerBjorn Helgaas <[email protected]>2023-02-16 18:00:25 +0000
commit1047377754c33bf860d80714f66fa4a8e56cbbec (patch)
treedd21d5ebe3b114f7e93bd316904d1c687045d3da /drivers/misc/pci_endpoint_test.c
parentPCI: endpoint: pci-epf-vntb: Add epf_ntb_mw_bar_clear() num_mws kernel-doc (diff)
downloadkernel-1047377754c33bf860d80714f66fa4a8e56cbbec.tar.gz
kernel-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/[email protected] Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/misc/pci_endpoint_test.c')
0 files changed, 0 insertions, 0 deletions