lantiq: fix pcie driver build warnings
authorShiji Yang <yangshiji66@outlook.com>
Thu, 8 May 2025 13:43:02 +0000 (21:43 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 18 Jul 2025 11:30:59 +0000 (12:30 +0100)
commit988133846d61e12d2de8d346474ee29eb3f156bd
treefb5ae13e65e14e28af024dff0562216bce9574ec
parentb87c88efeed89439834e1cf7611f83971af4d1d8
lantiq: fix pcie driver build warnings

This patch fixes the following build warnings:

arch/mips/pci/ifxmips_pcie.c:1084:36: error: invalid use of undefined type 'struct platform_device'
 1084 |     struct device_node *node = pdev->dev.of_node;
      |                                    ^~
arch/mips/pci/ifxmips_pcie.c:1204:12: error: no previous prototype for 'ifx_pcie_bios_init' [-Werror=missing-prototypes]
 1204 | int __init ifx_pcie_bios_init(void)
      |            ^~~~~~~~~~~~~~~~~~

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
target/linux/lantiq/patches-6.6/0151-lantiq-ifxmips_pcie-use-of.patch