mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-09-18 03:09:52 +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
917 B
Diff
29 lines
917 B
Diff
From e23bd7f95a86c4fc5da5499a3bdc95aa7518f7eb Mon Sep 17 00:00:00 2001
|
|
From: Shiji Yang <yangshiji66@outlook.com>
|
|
Date: Wed, 18 Jun 2025 22:53:24 +0800
|
|
Subject: [PATCH 06/11] MIPS: lantiq: xway: gptu: mark gptu_init() as static
|
|
|
|
Fix the following missing-prototypes warning:
|
|
|
|
arch/mips/lantiq/xway/gptu.c:197:12: error: no previous prototype for 'gptu_init' [-Werror=missing-prototypes]
|
|
197 | int __init gptu_init(void)
|
|
| ^~~~~~~~~
|
|
|
|
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
|
|
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
|
|
---
|
|
arch/mips/lantiq/xway/gptu.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/arch/mips/lantiq/xway/gptu.c
|
|
+++ b/arch/mips/lantiq/xway/gptu.c
|
|
@@ -194,7 +194,7 @@ static struct platform_driver dma_driver
|
|
},
|
|
};
|
|
|
|
-int __init gptu_init(void)
|
|
+static int __init gptu_init(void)
|
|
{
|
|
int ret = platform_driver_register(&dma_driver);
|
|
|