Revert "workqueue: make wq_subsys const"
authorTejun Heo <tj@kernel.org>
Mon, 5 Feb 2024 17:18:08 +0000 (07:18 -1000)
committerTejun Heo <tj@kernel.org>
Mon, 5 Feb 2024 17:19:54 +0000 (07:19 -1000)
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/
kernel/workqueue.c

index 78b4b992e1a3c5664ab9accf2590db8c95ee190a..524a7fff52aff83b46778dc6616d5616227d3a60 100644 (file)
@@ -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,
 };