Messages in this thread Patch in this message | | | Date | Sun, 6 May 2018 09:56:33 +0800 | From | kbuild test robot <> | Subject | [RFC PATCH] drivers core: device_root_tasks_done can be static |
| |
Fixes: 6d54ba128905 ("drivers core: multi-threading device shutdown") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- 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
| |