Fixes: 6d54ba128905 ("drivers core: multi-threading device shutdown")
Signed-off-by: Fengguang Wu <[email protected]>
---
core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 110d797..666c163 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -2874,7 +2874,7 @@ static int device_shutdown_child_task(void *data);
*/
static atomic_t device_root_tasks_finished;
static atomic_t device_root_tasks_started;
-struct completion device_root_tasks_done;
+static struct completion device_root_tasks_done;
/**
* Shutdown device tree with root started in dev. If dev has no children