[openwrt/openwrt] ipq40xx: qca8k-ipq4019: add missing header platform_device.h

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 20 06:38:39 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/855a8942e6052d9b55ba3de1ccd27b5594841033

commit 855a8942e6052d9b55ba3de1ccd27b5594841033
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Tue May 6 19:30:52 2025 +0800

    ipq40xx: qca8k-ipq4019: add missing header platform_device.h
    
    The prototype of `devm_platform_ioremap_resource_byname()` was defined
    in `linux/platform_device.h`.
    
    Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/18725
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/ipq40xx/patches-6.6/706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch b/target/linux/ipq40xx/patches-6.6/706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch
index c0b926b7a1..b2f42b9fd1 100644
--- a/target/linux/ipq40xx/patches-6.6/706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch
+++ b/target/linux/ipq40xx/patches-6.6/706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch
@@ -78,7 +78,7 @@ Signed-off-by: Robert Marko <robert.marko at sartura.hr>
  		if (dsa_is_cpu_port(priv->ds, i))
 --- /dev/null
 +++ b/drivers/net/dsa/qca/qca8k-ipq4019.c
-@@ -0,0 +1,948 @@
+@@ -0,0 +1,949 @@
 +// SPDX-License-Identifier: GPL-2.0
 +/*
 + * Copyright (C) 2009 Felix Fietkau <nbd at nbd.name>
@@ -97,6 +97,7 @@ Signed-off-by: Robert Marko <robert.marko at sartura.hr>
 +#include <linux/of_net.h>
 +#include <linux/of_mdio.h>
 +#include <linux/of_platform.h>
++#include <linux/platform_device.h>
 +#include <linux/mdio.h>
 +#include <linux/phylink.h>
 +




More information about the lede-commits mailing list