Skip to content

Commit

Permalink
Revert "workqueue: make wq_subsys const"
Browse files Browse the repository at this point in the history
This reverts commit d412ace. This leads to
build failures as it depends on a driver-core commit 32f78ab ("driver
core: bus: constantify subsys_register() calls"). Let's drop it from wq tree
and route it through driver-core tree.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402051505.kM9Rr3CJ-lkp@intel.com/
  • Loading branch information
Tejun Heo committed Feb 5, 2024
1 parent 4cb1ef6 commit 4f19b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -6874,7 +6874,7 @@ static struct device_attribute wq_sysfs_unbound_attrs[] = {
__ATTR_NULL,
};

static const struct bus_type wq_subsys = {
static struct bus_type wq_subsys = {
.name = "workqueue",
.dev_groups = wq_sysfs_groups,
};
Expand Down

0 comments on commit 4f19b8e

Please sign in to comment.