mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-09-17 15:49:22 +00:00
Patches 12 and 13 have been superseded by patch 12. Other patches have no significant changes. Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Link: https://github.com/openwrt/openwrt/pull/19675 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
29 lines
865 B
Diff
29 lines
865 B
Diff
From cff836f0bb0c53fcf43c12e32ee499cdf7e4a584 Mon Sep 17 00:00:00 2001
|
|
From: Shiji Yang <yangshiji66@outlook.com>
|
|
Date: Wed, 18 Jun 2025 22:53:15 +0800
|
|
Subject: [PATCH 01/11] 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>
|
|
---
|
|
arch/mips/lantiq/xway/dma.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- 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);
|