History

Revert "workqueue: make wq_subsys const"

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.

Tejun Heo committed 2 years ago

Commit 4f19b8e1 parent 4cb1ef61 file · +1 −1Browse files

Showing the changes to kernel/workqueue.c (1 of 1 file). Show all

Unified · Split

kernel/workqueue.c+1−1
@@ -6874,7 +6874,7 @@ static struct device_attribute wq_sysfs_unbound_attrs[] = { · 6873 unmodified lines
6874 __ATTR_NULL,6874 __ATTR_NULL,
6875};6875};
6876 6876
6877static const struct bus_type wq_subsys = {6877static struct bus_type wq_subsys = {
6878 .name = "workqueue",6878 .name = "workqueue",
6879 .dev_groups = wq_sysfs_groups,6879 .dev_groups = wq_sysfs_groups,
6880};6880};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t