mpc85xx: add static to init functions
authorRosen Penev <rosenp@gmail.com>
Fri, 6 Sep 2024 22:22:00 +0000 (15:22 -0700)
committerRobert Marko <robimarko@gmail.com>
Sat, 7 Sep 2024 20:24:07 +0000 (22:24 +0200)
No reason for them not to be so. Matches various upstream commits for
PPC.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16345
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/br200-wp.c
target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/firebox_t10.c
target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/hiveap-330.c
target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/msm460.c
target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/panda.c
target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/red15w_rev1.c
target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c
target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3710i.c
target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3715i.c
target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3825i.c

index 5b9c64501d505243f5abe888094c9d7a9370c370..8bd5a679b88d3e915b8eb51e1e116463a327396b 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "mpc85xx.h"
 
-void __init br200_wp_pic_init(void)
+static void __init br200_wp_pic_init(void)
 {
        struct mpic *mpic;
 
index 671066f48a3f13ce4c7c43113d0c0cfc36a5eba2..f8f90b22bf60b855bc24552de0b58b31a78b6e17 100644 (file)
@@ -34,7 +34,7 @@
 
 #include "mpc85xx.h"
 
-void __init firebox_t10_pic_init(void)
+static void __init firebox_t10_pic_init(void)
 {
        struct mpic *mpic;
 
index 48b8bd4433c4a53168b18c9419fdda9303ed7f16..3c97eeaff7fb4e5071a39d691738421b8ffda10c 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "mpc85xx.h"
 
-void __init hiveap_330_pic_init(void)
+static void __init hiveap_330_pic_init(void)
 {
        struct mpic *mpic;
 
index ace7f3d9a265c6778c89012149dcee125ee670fa..24eac19a764b4d69fd028569ef62990726c2a276 100644 (file)
@@ -35,7 +35,7 @@
 
 #include "mpc85xx.h"
 
-void __init msm_pic_init(void)
+static void __init msm_pic_init(void)
 {
        struct mpic *mpic;
 
index 96bd72af2aca35ed2e2b4d42f8f6e738f893e147..aab2b591ae73f5c690051cf51d32733661d7a9ab 100644 (file)
@@ -35,7 +35,7 @@
 
 #include "mpc85xx.h"
 
-void __init panda_pic_init(void)
+static void __init panda_pic_init(void)
 {
        struct mpic *mpic;
 
index 80a835b11345d922184f614f6a237695e187a3b1..8966cc3452f605829bdd28038f7d95d7b12d8d7f 100644 (file)
@@ -34,7 +34,7 @@
 
 #include "mpc85xx.h"
 
-void __init red_15w_rev1_pic_init(void)
+static void __init red_15w_rev1_pic_init(void)
 {
        struct mpic *mpic;
 
index 67cc34adc497ff4f9b65b3621880053f5c3ed4ae..8180ddaeef0e8e5a054fe42d5f8ce6e17c252736 100644 (file)
@@ -32,7 +32,7 @@
 
 #include "mpc85xx.h"
 
-void __init tl_wdr4900_v1_pic_init(void)
+static void __init tl_wdr4900_v1_pic_init(void)
 {
        struct mpic *mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN |
          MPIC_SINGLE_DEST_CPU,
index c40a7b3f1f1738b56bd44caf59e06db516ee29d8..75f881a11927287625ef3d0021836080563731f0 100644 (file)
@@ -35,7 +35,7 @@
 
 #include "mpc85xx.h"
 
-void __init ws_ap3710i_pic_init(void)
+static void __init ws_ap3710i_pic_init(void)
 {
        struct mpic *mpic;
 
index 302022a1d4ac896fdc40da8eb4d5225ce87f2735..3c3d2bf2556c7ab8d874c85eba51f89106172d9b 100644 (file)
@@ -34,7 +34,7 @@
 
 #include "mpc85xx.h"
 
-void __init wsap3715i_pic_init(void)
+static void __init wsap3715i_pic_init(void)
 {
        struct mpic *mpic;
 
index 202927079a1ee6e25a83d675c3bb9ec86a0f91cf..fbacbc96c497bf91242de4f5958522e97f9dca92 100644 (file)
@@ -35,7 +35,7 @@
 
 #include "mpc85xx.h"
 
-void __init ws_ap3825i_pic_init(void)
+static void __init ws_ap3825i_pic_init(void)
 {
        struct mpic *mpic;