aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@outlook.com>2025-06-18 22:53:15 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2025-07-02 13:35:51 +0200
commitcff836f0bb0c53fcf43c12e32ee499cdf7e4a584 (patch)
treeadbd5e0d45266d6e0869b5553a2e2ccdc833cf6b /arch/mips
parent3376910ff827e11976633bd28d3e43e24131eefe (diff)
downloadnet-cff836f0bb0c53fcf43c12e32ee499cdf7e4a584.tar.gz
MIPS: lantiq: xway: mark dma_init() as static
Fix the following missing-prototypes build warning: arch/mips/lantiq/xway/dma.c:293:1: error: no previous prototype for 'dma_init' [-Werror=missing-prototypes] 293 | dma_init(void) | ^~~~~~~~ Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/lantiq/xway/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c
index 934ac72937e5fa..4693eba6c29665 100644
--- a/arch/mips/lantiq/xway/dma.c
+++ b/arch/mips/lantiq/xway/dma.c
@@ -289,7 +289,7 @@ static struct platform_driver dma_driver = {
},
};
-int __init
+static int __init
dma_init(void)
{
return platform_driver_register(&dma_driver);