powerpc/44x: Declare primary_uic static in uic.c
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 8 Jan 2025 10:24:54 +0000 (11:24 +0100)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Mon, 24 Feb 2025 06:56:21 +0000 (12:26 +0530)
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: e58923ed1437 ("[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
arch/powerpc/platforms/44x/uic.c

index e3e148b9dd1830eeb9745374f9469e4f4c11fa80..8b03ae4cb3f61a04a5434d3965f7483fa9e0bca4 100644 (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;