From: Shiji Yang Date: Tue, 6 May 2025 11:30:52 +0000 (+0800) Subject: ipq40xx: qca8k-ipq4019: add missing header platform_device.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=855a8942e6052d9b55ba3de1ccd27b5594841033;p=thirdparty%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/18725 Signed-off-by: Hauke Mehrtens --- 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 c0b926b7a19..b2f42b9fd14 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 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 @@ -97,6 +97,7 @@ Signed-off-by: Robert Marko +#include +#include +#include ++#include +#include +#include +