This reverts commit d412ace11144aa2bf692c7cf9778351efc15c827. This leads to build failures as it depends on a driver-core commit 32f78abe59c7 ("driver core: bus: constantify subsys_register() calls"). Let's drop it from wq tree and route it through driver-core tree.
Showing the changes to kernel/workqueue.c (1 of 1 file). Show all
Unified · Split
| @@ -6874,7 +6874,7 @@ static struct device_attribute wq_sysfs_unbound_attrs[] = { · 6873 unmodified lines | ||
| 6874 | 6874 | __ATTR_NULL, |
| 6875 | 6875 | }; |
| 6876 | 6876 | |
| 6877 | −static const struct bus_type wq_subsys = { | |
| 6877 | +static struct bus_type wq_subsys = { | |
| 6878 | 6878 | .name = "workqueue", |
| 6879 | 6879 | .dev_groups = wq_sysfs_groups, |
| 6880 | 6880 | }; |