summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/tau_6xx.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@linux-m68k.org>2021-08-19 03:46:54 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-20 10:00:53 +0300
commit6cd717fe9b3a787f8e8f9d0bc9b7634a9c104b3e (patch)
tree915cd3d4aa1d74ec13cf86a178f4483ec57611d7 /arch/powerpc/kernel/tau_6xx.c
parentc26d4c5d4f0df7207da3975458261927f9305465 (diff)
downloadlinux-6cd717fe9b3a787f8e8f9d0bc9b7634a9c104b3e.tar.xz
powerpc/tau: Add 'static' storage qualifier to 'tau_work' definition
This patch prevents the following sparse warning. arch/powerpc/kernel/tau_6xx.c:199:1: sparse: sparse: symbol 'tau_work' was not declared. Should it be static? Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Finn Thain <fthain@linux-m68k.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/44ab381741916a51e783c4a50d0b186abdd8f280.1629334014.git.fthain@linux-m68k.org
Diffstat (limited to 'arch/powerpc/kernel/tau_6xx.c')
-rw-r--r--arch/powerpc/kernel/tau_6xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/tau_6xx.c b/arch/powerpc/kernel/tau_6xx.c
index b9a047d92ec0..8e83d19fe8fa 100644
--- a/arch/powerpc/kernel/tau_6xx.c
+++ b/arch/powerpc/kernel/tau_6xx.c
@@ -164,7 +164,7 @@ static void tau_work_func(struct work_struct *work)
queue_work(tau_workq, work);
}
-DECLARE_WORK(tau_work, tau_work_func);
+static DECLARE_WORK(tau_work, tau_work_func);
/*
* setup the TAU