We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7b9056 commit ac0fe6aCopy full SHA for ac0fe6a
drivers/cxl/core/port.c
@@ -2293,7 +2293,7 @@ static const struct attribute_group *cxl_bus_attribute_groups[] = {
2293
NULL,
2294
};
2295
2296
-struct bus_type cxl_bus_type = {
+const struct bus_type cxl_bus_type = {
2297
.name = "cxl",
2298
.uevent = cxl_bus_uevent,
2299
.match = cxl_bus_match,
drivers/cxl/cxl.h
@@ -815,7 +815,7 @@ int cxl_dvsec_rr_decode(struct cxl_dev_state *cxlds,
815
816
bool is_cxl_region(struct device *dev);
817
818
-extern struct bus_type cxl_bus_type;
+extern const struct bus_type cxl_bus_type;
819
820
struct cxl_driver {
821
const char *name;
0 commit comments