diff options
| author | Shiji Yang | 2025-05-06 11:30:52 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-07-20 13:33:02 +0000 |
| commit | 855a8942e6052d9b55ba3de1ccd27b5594841033 (patch) | |
| tree | 06d7dfc0a186ff63528dc3373bbc83b97d448301 | |
| parent | 2a31e006d6e7432776a1a9d82aefc178c6ed491b (diff) | |
| download | openwrt-855a8942e6052d9b55ba3de1ccd27b5594841033.tar.gz | |
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@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18725
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | target/linux/ipq40xx/patches-6.6/706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch | 3 |
1 files changed, 2 insertions, 1 deletions
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@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@nbd.name> @@ -97,6 +97,7 @@ Signed-off-by: Robert Marko <robert.marko@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> + |