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
This commit is contained in:
Finn Thain 2021-08-19 10:46:54 +10:00 committed by Michael Ellerman
parent c26d4c5d4f
commit 6cd717fe9b
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ static void tau_work_func(struct work_struct *work)
queue_work(tau_workq, work); queue_work(tau_workq, work);
} }
DECLARE_WORK(tau_work, tau_work_func); static DECLARE_WORK(tau_work, tau_work_func);
/* /*
* setup the TAU * setup the TAU