powerpc/44x: Declare primary_uic static in uic.c

primary_uic is not used outside uic.c, declare it static.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202411101746.lD8YdVzY-lkp@intel.com/
Fixes: e58923ed14 ("[POWERPC] Add arch/powerpc driver for UIC, PPC4xx interrupt controller")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/0e11233d30333610ab460b3a1fd0f43c3a51e34d.1736331884.git.christophe.leroy@csgroup.eu
This commit is contained in:
Christophe Leroy
2025-01-08 11:24:54 +01:00
committed by Madhavan Srinivasan
parent 6aa989ab2b
commit 779c501cab

View File

@@ -37,7 +37,7 @@
#define UIC_VR 0x7
#define UIC_VCR 0x8
struct uic *primary_uic;
static struct uic *primary_uic;
struct uic {
int index;