diff options
author | Tejun Heo <tj@kernel.org> | 2024-02-05 07:18:08 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-02-05 07:19:54 -1000 |
commit | 4f19b8e01e2fb6c97d4307abb7bde4d34a1e601e (patch) | |
tree | d55a884ed7b5a70c29b1e8699e27c9f00d5afb03 | |
parent | 4cb1ef64609f9b0254184b2947824f4b46ccab22 (diff) |
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.
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/
-rw-r--r-- | kernel/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 78b4b992e1a3..524a7fff52af 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -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, }; |