aboutsummaryrefslogtreecommitdiff
path: root/include/linux/switchtec.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2024-07-19 10:10:33 -0500
committerBjorn Helgaas <bhelgaas@google.com>2024-07-19 10:10:33 -0500
commit19a3eec1e7cc04901f8b14f6244345cd83a8507f (patch)
tree157fb7d1fc83d3a6fba170f894acc87fa8629acd /include/linux/switchtec.h
parentd098215aec2c1a0ef785542c1b1bcf65d617dd80 (diff)
parent8a74e4eaa72c14f997df6d820effb6aac400d470 (diff)
Merge branch 'pci/switchtec'
- Make switchtec_class constant (Greg Kroah-Hartman) * pci/switchtec: PCI: switchtec: Make switchtec_class constant
Diffstat (limited to 'include/linux/switchtec.h')
-rw-r--r--include/linux/switchtec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/switchtec.h b/include/linux/switchtec.h
index 8d8fac1626bd..cdb58d61c152 100644
--- a/include/linux/switchtec.h
+++ b/include/linux/switchtec.h
@@ -521,6 +521,6 @@ static inline struct switchtec_dev *to_stdev(struct device *dev)
return container_of(dev, struct switchtec_dev, dev);
}
-extern struct class *switchtec_class;
+extern const struct class switchtec_class;
#endif