From: Rosen Penev Date: Fri, 6 Sep 2024 22:22:00 +0000 (-0700) Subject: mpc85xx: add static to init functions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=39d0fd6a366e5b40bd234d2bbb621d993101ebd3;p=openwrt%2Fstaging%2Fthess.git mpc85xx: add static to init functions No reason for them not to be so. Matches various upstream commits for PPC. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/16345 Signed-off-by: Robert Marko --- diff --git a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/br200-wp.c b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/br200-wp.c index 5b9c64501d..8bd5a679b8 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/br200-wp.c +++ b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/br200-wp.c @@ -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; diff --git a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/firebox_t10.c b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/firebox_t10.c index 671066f48a..f8f90b22bf 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/firebox_t10.c +++ b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/firebox_t10.c @@ -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; diff --git a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/hiveap-330.c b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/hiveap-330.c index 48b8bd4433..3c97eeaff7 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/hiveap-330.c +++ b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/hiveap-330.c @@ -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; diff --git a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/msm460.c b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/msm460.c index ace7f3d9a2..24eac19a76 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/msm460.c +++ b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/msm460.c @@ -35,7 +35,7 @@ #include "mpc85xx.h" -void __init msm_pic_init(void) +static void __init msm_pic_init(void) { struct mpic *mpic; diff --git a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/panda.c b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/panda.c index 96bd72af2a..aab2b591ae 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/panda.c +++ b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/panda.c @@ -35,7 +35,7 @@ #include "mpc85xx.h" -void __init panda_pic_init(void) +static void __init panda_pic_init(void) { struct mpic *mpic; diff --git a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/red15w_rev1.c b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/red15w_rev1.c index 80a835b113..8966cc3452 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/red15w_rev1.c +++ b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/red15w_rev1.c @@ -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; diff --git a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c index 67cc34adc4..8180ddaeef 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c +++ b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c @@ -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, diff --git a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3710i.c b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3710i.c index c40a7b3f1f..75f881a119 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3710i.c +++ b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3710i.c @@ -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; diff --git a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3715i.c b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3715i.c index 302022a1d4..3c3d2bf255 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3715i.c +++ b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3715i.c @@ -34,7 +34,7 @@ #include "mpc85xx.h" -void __init wsap3715i_pic_init(void) +static void __init wsap3715i_pic_init(void) { struct mpic *mpic; diff --git a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3825i.c b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3825i.c index 202927079a..fbacbc96c4 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3825i.c +++ b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3825i.c @@ -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;