diff mbox series

[wq/for-6.9] Revert "workqueue: make wq_subsys const"

Message ID ZcEdzUle0VZZNkAo@slm.duckdns.org (mailing list archive)
State New
Headers show
Series [wq/for-6.9] Revert "workqueue: make wq_subsys const" | expand

Commit Message

Tejun Heo Feb. 5, 2024, 5:41 p.m. UTC
From 4f19b8e01e2fb6c97d4307abb7bde4d34a1e601e Mon Sep 17 00:00:00 2001
From: Tejun Heo <tj@kernel.org>
Date: Mon, 5 Feb 2024 07:18:08 -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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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,
 };