]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
lantiq: remove upstreamed patches
authorShiji Yang <yangshiji66@outlook.com>
Fri, 10 Apr 2026 14:23:48 +0000 (22:23 +0800)
committerNick Hainke <vincent@systemli.org>
Thu, 23 Apr 2026 13:54:47 +0000 (15:54 +0200)
They are included in the 6.18 kernel.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22922
Signed-off-by: Nick Hainke <vincent@systemli.org>
13 files changed:
target/linux/lantiq/patches-6.18/102-01-v6.17-MIPS-lantiq-xway-mark-dma_init-as-static.patch [deleted file]
target/linux/lantiq/patches-6.18/102-02-v6.17-0002-MIPS-pci-lantiq-marks-pcibios_init-as-static.patch [deleted file]
target/linux/lantiq/patches-6.18/102-03-v6.17-MIPS-lantiq-xway-mark-dcdc_init-as-static.patch [deleted file]
target/linux/lantiq/patches-6.18/102-04-v6.17-MIPS-lantiq-irq-fix-misc-missing-prototypes-warnings.patch [deleted file]
target/linux/lantiq/patches-6.18/102-05-v6.17-MIPS-lantiq-xway-mark-ltq_ar9_sys_hz-as-static.patch [deleted file]
target/linux/lantiq/patches-6.18/102-06-v6.17-MIPS-lantiq-xway-gptu-mark-gptu_init-as-static.patch [deleted file]
target/linux/lantiq/patches-6.18/102-07-v6.17-MIPS-lantiq-xway-add-prototype-for-ltq_get_cp1_base.patch [deleted file]
target/linux/lantiq/patches-6.18/102-08-v6.17-MIPS-lantiq-falcon-fix-misc-missing-prototypes-warni.patch [deleted file]
target/linux/lantiq/patches-6.18/102-09-v6.17-MIPS-lantiq-falcon-sysctrl-remove-unused-falcon_trig.patch [deleted file]
target/linux/lantiq/patches-6.18/102-10-v6.17-MIPS-lantiq-falcon-sysctrl-add-missing-header-prom.h.patch [deleted file]
target/linux/lantiq/patches-6.18/102-14-v6.17-pinctrl-xway-statify-xway_pinconf_group_set.patch [deleted file]
target/linux/lantiq/patches-6.18/102-15-v6.17-pinctrl-falcon-mark-pinctrl_falcon_init-as-static.patch [deleted file]
target/linux/lantiq/patches-6.18/102-16-v6.17-spi-falcon-mark-falcon_sflash_xfer-as-static.patch [deleted file]

diff --git a/target/linux/lantiq/patches-6.18/102-01-v6.17-MIPS-lantiq-xway-mark-dma_init-as-static.patch b/target/linux/lantiq/patches-6.18/102-01-v6.17-MIPS-lantiq-xway-mark-dma_init-as-static.patch
deleted file mode 100644 (file)
index e06eff2..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-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);
diff --git a/target/linux/lantiq/patches-6.18/102-02-v6.17-0002-MIPS-pci-lantiq-marks-pcibios_init-as-static.patch b/target/linux/lantiq/patches-6.18/102-02-v6.17-0002-MIPS-pci-lantiq-marks-pcibios_init-as-static.patch
deleted file mode 100644 (file)
index b9cefb8..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-From 50162a0c6e014c4954ee4443109b7a4251b377fc Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Wed, 18 Jun 2025 22:53:19 +0800
-Subject: [PATCH 02/11] MIPS: pci: lantiq: marks pcibios_init() as static
-
-Fix the following missing-prototypes build warning:
-
-arch/mips/pci/pci-lantiq.c:239:12: error: no previous prototype for 'pcibios_init' [-Werror=missing-prototypes]
-  239 | int __init pcibios_init(void)
-      |            ^~~~~~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
-Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
----
- arch/mips/pci/pci-lantiq.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/arch/mips/pci/pci-lantiq.c
-+++ b/arch/mips/pci/pci-lantiq.c
-@@ -234,7 +234,7 @@ static struct platform_driver ltq_pci_dr
-       },
- };
--int __init pcibios_init(void)
-+static int __init pcibios_init(void)
- {
-       int ret = platform_driver_register(&ltq_pci_driver);
-       if (ret)
diff --git a/target/linux/lantiq/patches-6.18/102-03-v6.17-MIPS-lantiq-xway-mark-dcdc_init-as-static.patch b/target/linux/lantiq/patches-6.18/102-03-v6.17-MIPS-lantiq-xway-mark-dcdc_init-as-static.patch
deleted file mode 100644 (file)
index d25e099..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-From c714186debb45fc88098b666d46cb29ff728e06d Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Wed, 18 Jun 2025 22:53:16 +0800
-Subject: [PATCH 03/11] MIPS: lantiq: xway: mark dcdc_init() as static
-
-Fix the following missing-prototypes build warning:
-
-arch/mips/lantiq/xway/dcdc.c:49:12: error: no previous prototype for 'dcdc_init' [-Werror=missing-prototypes]
-   49 | int __init dcdc_init(void)
-      |            ^~~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
-Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
----
- arch/mips/lantiq/xway/dcdc.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/arch/mips/lantiq/xway/dcdc.c
-+++ b/arch/mips/lantiq/xway/dcdc.c
-@@ -46,7 +46,7 @@ static struct platform_driver dcdc_drive
-       },
- };
--int __init dcdc_init(void)
-+static int __init dcdc_init(void)
- {
-       int ret = platform_driver_register(&dcdc_driver);
diff --git a/target/linux/lantiq/patches-6.18/102-04-v6.17-MIPS-lantiq-irq-fix-misc-missing-prototypes-warnings.patch b/target/linux/lantiq/patches-6.18/102-04-v6.17-MIPS-lantiq-irq-fix-misc-missing-prototypes-warnings.patch
deleted file mode 100644 (file)
index 2c282d2..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-From d97394bf381eda85d04bec68b72dbc397744fcc3 Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Wed, 18 Jun 2025 22:53:17 +0800
-Subject: [PATCH 04/11] MIPS: lantiq: irq: fix misc missing-prototypes warnings
-
-Fix the following build warnings:
-
-arch/mips/lantiq/irq.c:340:12: error: no previous prototype for 'icu_of_init' [-Werror=missing-prototypes]
-  340 | int __init icu_of_init(struct device_node *node, struct device_node *parent)
-      |            ^~~~~~~~~~~
-arch/mips/lantiq/irq.c:418:5: error: no previous prototype for 'get_c0_perfcount_int' [-Werror=missing-prototypes]
-  418 | int get_c0_perfcount_int(void)
-      |     ^~~~~~~~~~~~~~~~~~~~
-arch/mips/lantiq/irq.c:424:14: error: no previous prototype for 'get_c0_compare_int' [-Werror=missing-prototypes]
-  424 | unsigned int get_c0_compare_int(void)
-      |              ^~~~~~~~~~~~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
-Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
----
- arch/mips/lantiq/irq.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
---- a/arch/mips/lantiq/irq.c
-+++ b/arch/mips/lantiq/irq.c
-@@ -17,6 +17,7 @@
- #include <asm/bootinfo.h>
- #include <asm/irq_cpu.h>
-+#include <asm/time.h>
- #include <lantiq_soc.h>
- #include <irq.h>
-@@ -337,7 +338,8 @@ static const struct irq_domain_ops irq_d
-       .map = icu_map,
- };
--int __init icu_of_init(struct device_node *node, struct device_node *parent)
-+static int __init
-+icu_of_init(struct device_node *node, struct device_node *parent)
- {
-       struct device_node *eiu_node;
-       struct resource res;
diff --git a/target/linux/lantiq/patches-6.18/102-05-v6.17-MIPS-lantiq-xway-mark-ltq_ar9_sys_hz-as-static.patch b/target/linux/lantiq/patches-6.18/102-05-v6.17-MIPS-lantiq-xway-mark-ltq_ar9_sys_hz-as-static.patch
deleted file mode 100644 (file)
index 47e0a04..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-From de521c6d99d755bbdfa0f1f35299a3e2b02b0dfe Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Wed, 18 Jun 2025 22:53:14 +0800
-Subject: [PATCH 05/11] MIPS: lantiq: xway: mark ltq_ar9_sys_hz() as static
-
-Fix the following missing-prototypes warning:
-
-arch/mips/lantiq/xway/clk.c:77:15: error: no previous prototype for 'ltq_ar9_sys_hz' [-Werror=missing-prototypes]
-   77 | unsigned long ltq_ar9_sys_hz(void)
-      |               ^~~~~~~~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
-Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
----
- arch/mips/lantiq/xway/clk.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/arch/mips/lantiq/xway/clk.c
-+++ b/arch/mips/lantiq/xway/clk.c
-@@ -74,7 +74,7 @@ unsigned long ltq_danube_pp32_hz(void)
-       return clk;
- }
--unsigned long ltq_ar9_sys_hz(void)
-+static unsigned long ltq_ar9_sys_hz(void)
- {
-       if (((ltq_cgu_r32(CGU_SYS) >> 3) & 0x3) == 0x2)
-               return CLOCK_393M;
diff --git a/target/linux/lantiq/patches-6.18/102-06-v6.17-MIPS-lantiq-xway-gptu-mark-gptu_init-as-static.patch b/target/linux/lantiq/patches-6.18/102-06-v6.17-MIPS-lantiq-xway-gptu-mark-gptu_init-as-static.patch
deleted file mode 100644 (file)
index d6925e5..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-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);
diff --git a/target/linux/lantiq/patches-6.18/102-07-v6.17-MIPS-lantiq-xway-add-prototype-for-ltq_get_cp1_base.patch b/target/linux/lantiq/patches-6.18/102-07-v6.17-MIPS-lantiq-xway-add-prototype-for-ltq_get_cp1_base.patch
deleted file mode 100644 (file)
index cf75dbb..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-From 3f8565be1e848de86c1cc98285ac27a4a9bcb161 Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Wed, 18 Jun 2025 22:53:18 +0800
-Subject: [PATCH 07/11] MIPS: lantiq: xway: add prototype for
- ltq_get_cp1_base()
-
-ltq_get_cp1_base() is an exported function, we must define
-its prototype on header file. Fix warning:
-
-arch/mips/lantiq/xway/vmmc.c:22:15: error: no previous prototype for 'ltq_get_cp1_base' [-Werror=missing-prototypes]
-   22 | unsigned int *ltq_get_cp1_base(void)
-      |               ^~~~~~~~~~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
-Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
----
- arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h | 3 +++
- 1 file changed, 3 insertions(+)
-
---- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-@@ -102,5 +102,8 @@ extern void ltq_pmu_disable(unsigned int
- /* allow the ethernet driver to load a flash mapped mac addr */
- const u8* ltq_get_eth_mac(void);
-+/* VMMC */
-+extern unsigned int *ltq_get_cp1_base(void);
-+
- #endif /* CONFIG_SOC_TYPE_XWAY */
- #endif /* _LTQ_XWAY_H__ */
diff --git a/target/linux/lantiq/patches-6.18/102-08-v6.17-MIPS-lantiq-falcon-fix-misc-missing-prototypes-warni.patch b/target/linux/lantiq/patches-6.18/102-08-v6.17-MIPS-lantiq-falcon-fix-misc-missing-prototypes-warni.patch
deleted file mode 100644 (file)
index 0ef02df..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-From d97930fbf2d2aa00e7da9be7f128754920486953 Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Wed, 18 Jun 2025 22:53:20 +0800
-Subject: [PATCH 08/11] MIPS: lantiq: falcon: fix misc missing-prototypes
- warnings
-
-Fix the following build warnings:
-
-arch/mips/lantiq/falcon/prom.c:39:13: error: no previous prototype for 'ltq_soc_nmi_setup' [-Werror=missing-prototypes]
-   39 | void __init ltq_soc_nmi_setup(void)
-      |             ^~~~~~~~~~~~~~~~~
-arch/mips/lantiq/falcon/prom.c:46:13: error: no previous prototype for 'ltq_soc_ejtag_setup' [-Werror=missing-prototypes]
-   46 | void __init ltq_soc_ejtag_setup(void)
-      |             ^~~~~~~~~~~~~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
-Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
----
- arch/mips/lantiq/falcon/prom.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/arch/mips/lantiq/falcon/prom.c
-+++ b/arch/mips/lantiq/falcon/prom.c
-@@ -36,14 +36,14 @@
- #define BOOT_NVEC     (BOOT_REG_BASE | 0x04)
- #define BOOT_EVEC     (BOOT_REG_BASE | 0x08)
--void __init ltq_soc_nmi_setup(void)
-+static void __init ltq_soc_nmi_setup(void)
- {
-       extern void (*nmi_handler)(void);
-       ltq_w32((unsigned long)&nmi_handler, (void *)BOOT_NVEC);
- }
--void __init ltq_soc_ejtag_setup(void)
-+static void __init ltq_soc_ejtag_setup(void)
- {
-       extern void (*ejtag_debug_handler)(void);
diff --git a/target/linux/lantiq/patches-6.18/102-09-v6.17-MIPS-lantiq-falcon-sysctrl-remove-unused-falcon_trig.patch b/target/linux/lantiq/patches-6.18/102-09-v6.17-MIPS-lantiq-falcon-sysctrl-remove-unused-falcon_trig.patch
deleted file mode 100644 (file)
index abe3580..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-From 01432b513638b0ffb080aa211b5b7f7ecf316f24 Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Wed, 18 Jun 2025 22:53:21 +0800
-Subject: [PATCH 09/11] MIPS: lantiq: falcon: sysctrl: remove unused
- falcon_trigger_hrst()
-
-This is a defined but unused function. Fix warning:
-
-arch/mips/lantiq/falcon/sysctrl.c:75:6: error: no previous prototype for 'falcon_trigger_hrst' [-Werror=missing-prototypes]
-   75 | void falcon_trigger_hrst(int level)
-      |      ^~~~~~~~~~~~~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
-Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
----
- arch/mips/lantiq/falcon/sysctrl.c | 5 -----
- 1 file changed, 5 deletions(-)
-
---- a/arch/mips/lantiq/falcon/sysctrl.c
-+++ b/arch/mips/lantiq/falcon/sysctrl.c
-@@ -72,11 +72,6 @@
- static void __iomem *sysctl_membase[3], *status_membase;
- void __iomem *ltq_sys1_membase, *ltq_ebu_membase;
--void falcon_trigger_hrst(int level)
--{
--      sysctl_w32(SYSCTL_SYS1, level & 1, SYS1_HRSTOUTC);
--}
--
- static inline void sysctl_wait(struct clk *clk,
-               unsigned int test, unsigned int reg)
- {
diff --git a/target/linux/lantiq/patches-6.18/102-10-v6.17-MIPS-lantiq-falcon-sysctrl-add-missing-header-prom.h.patch b/target/linux/lantiq/patches-6.18/102-10-v6.17-MIPS-lantiq-falcon-sysctrl-add-missing-header-prom.h.patch
deleted file mode 100644 (file)
index 5b137a2..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-From 8a6156bd26240177e710fd8623bc2eb0ef0092cf Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Wed, 18 Jun 2025 22:53:22 +0800
-Subject: [PATCH 10/11] MIPS: lantiq: falcon: sysctrl: add missing header
- prom.h
-
-"prom.h" includes the prototype of ltq_soc_init(). Fix warning:
-
-arch/mips/lantiq/falcon/sysctrl.c:185:13: error: no previous prototype for 'ltq_soc_init' [-Werror=missing-prototypes]
-  185 | void __init ltq_soc_init(void)
-      |             ^~~~~~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
-Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
----
- arch/mips/lantiq/falcon/sysctrl.c | 1 +
- 1 file changed, 1 insertion(+)
-
---- a/arch/mips/lantiq/falcon/sysctrl.c
-+++ b/arch/mips/lantiq/falcon/sysctrl.c
-@@ -14,6 +14,7 @@
- #include <lantiq_soc.h>
- #include "../clk.h"
-+#include "../prom.h"
- /* infrastructure control register */
- #define SYS1_INFRAC           0x00bc
diff --git a/target/linux/lantiq/patches-6.18/102-14-v6.17-pinctrl-xway-statify-xway_pinconf_group_set.patch b/target/linux/lantiq/patches-6.18/102-14-v6.17-pinctrl-xway-statify-xway_pinconf_group_set.patch
deleted file mode 100644 (file)
index 5e1113b..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-From e62acaef5d3b67648a7161b329ae8a5afce8c682 Mon Sep 17 00:00:00 2001
-From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Date: Thu, 12 Jun 2025 15:15:16 +0200
-Subject: [PATCH] pinctrl: xway: statify xway_pinconf_group_set()
-
-This function is not exported and is only used locally. Make it static.
-
-Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-Link: https://lore.kernel.org/20250612-gpiochip-set-rv-pinctrl-remaining-v1-7-556b0a530cd4@linaro.org
-Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
----
- drivers/pinctrl/pinctrl-xway.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
---- a/drivers/pinctrl/pinctrl-xway.c
-+++ b/drivers/pinctrl/pinctrl-xway.c
-@@ -1228,10 +1228,10 @@ static int xway_pinconf_set(struct pinct
-       return 0;
- }
--int xway_pinconf_group_set(struct pinctrl_dev *pctldev,
--                      unsigned selector,
--                      unsigned long *configs,
--                      unsigned num_configs)
-+static int xway_pinconf_group_set(struct pinctrl_dev *pctldev,
-+                                unsigned int selector,
-+                                unsigned long *configs,
-+                                unsigned int num_configs)
- {
-       struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctldev);
-       int i, ret = 0;
diff --git a/target/linux/lantiq/patches-6.18/102-15-v6.17-pinctrl-falcon-mark-pinctrl_falcon_init-as-static.patch b/target/linux/lantiq/patches-6.18/102-15-v6.17-pinctrl-falcon-mark-pinctrl_falcon_init-as-static.patch
deleted file mode 100644 (file)
index 74586c6..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-From 4b443bbcd113cad6ec041a4f9f09179e2342ad60 Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Wed, 18 Jun 2025 22:53:28 +0800
-Subject: [PATCH] pinctrl: falcon: mark pinctrl_falcon_init() as static
-
-Fix the following missing-prototypes build warning:
-
-drivers/pinctrl/pinctrl-falcon.c:508:12: error: no previous prototype for 'pinctrl_falcon_init' [-Werror=missing-prototypes]
-  508 | int __init pinctrl_falcon_init(void)
-      |            ^~~~~~~~~~~~~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
-Link: https://lore.kernel.org/OSBPR01MB167014AF54EF9818CB98C83BBC72A@OSBPR01MB1670.jpnprd01.prod.outlook.com
-Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
----
- drivers/pinctrl/pinctrl-falcon.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/drivers/pinctrl/pinctrl-falcon.c
-+++ b/drivers/pinctrl/pinctrl-falcon.c
-@@ -505,7 +505,7 @@ static struct platform_driver pinctrl_fa
-       },
- };
--int __init pinctrl_falcon_init(void)
-+static int __init pinctrl_falcon_init(void)
- {
-       return platform_driver_register(&pinctrl_falcon_driver);
- }
diff --git a/target/linux/lantiq/patches-6.18/102-16-v6.17-spi-falcon-mark-falcon_sflash_xfer-as-static.patch b/target/linux/lantiq/patches-6.18/102-16-v6.17-spi-falcon-mark-falcon_sflash_xfer-as-static.patch
deleted file mode 100644 (file)
index f9b643b..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-From 5fc2c383125c2b4b6037e02ad8796b776b25e6d0 Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Wed, 18 Jun 2025 22:53:29 +0800
-Subject: [PATCH] spi: falcon: mark falcon_sflash_xfer() as static
-
-Fix the following missing-prototypes build warning:
-
-drivers/spi/spi-falcon.c:97:5: error: no previous prototype for 'falcon_sflash_xfer' [-Werror=missing-prototypes]
-   97 | int falcon_sflash_xfer(struct spi_device *spi, struct spi_transfer *t,
-      |     ^~~~~~~~~~~~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
-Link: https://patch.msgid.link/OSBPR01MB16705BE87E549B6210CD6BCABC72A@OSBPR01MB1670.jpnprd01.prod.outlook.com
-Signed-off-by: Mark Brown <broonie@kernel.org>
----
- drivers/spi/spi-falcon.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
---- a/drivers/spi/spi-falcon.c
-+++ b/drivers/spi/spi-falcon.c
-@@ -94,8 +94,9 @@ struct falcon_sflash {
-       struct spi_controller *host;
- };
--int falcon_sflash_xfer(struct spi_device *spi, struct spi_transfer *t,
--              unsigned long flags)
-+static int
-+falcon_sflash_xfer(struct spi_device *spi, struct spi_transfer *t,
-+                 unsigned long flags)
- {
-       struct device *dev = &spi->dev;
-       struct falcon_sflash *priv = spi_controller_get_devdata(spi->controller);