openwrt/target/linux/lantiq
Christian Marangi eaca62f31c
lantiq: 5.15: fix compilation warning pciex fixup patch
pcibios_map_irq request a const pci_dev while pci_find_capability
doesn't. Cast dropping the const to fix compilation warning.
Fix compilation warning:
arch/mips/pci/fixup-lantiq.c: In function 'pcibios_map_irq':
arch/mips/pci/fixup-lantiq.c:34:33: error: passing argument 1 of 'pci_find_capability' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
   34 |         if (pci_find_capability(dev, PCI_CAP_ID_EXP))
      |                                 ^~~
In file included from arch/mips/pci/fixup-lantiq.c:9:
./include/linux/pci.h:1129:40: note: expected 'struct pci_dev *' but argument is of type 'const struct pci_dev *'
 1129 | u8 pci_find_capability(struct pci_dev *dev, int cap);
      |                        ~~~~~~~~~~~~~~~~^~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 12:41:50 +02:00
..
ase lantiq: copy Linux 5.10 files in preparation for Linux 5.15 support 2022-10-22 19:44:45 +02:00
base-files lantiq: xrx200: switch the subtarget to the mainline DSA driver 2021-06-26 16:05:36 +02:00
falcon lantiq: copy Linux 5.10 files in preparation for Linux 5.15 support 2022-10-22 19:44:45 +02:00
files lantiq: xrx200: convert FritzBox 7360v2's wifi to nvmem 2023-03-26 16:39:37 +02:00
image lantiq: lzma-loader: fix mismatched function declaration 2023-05-12 03:15:36 +02:00
patches-5.10 lantiq: nand: don't yield while holding spinlock 2023-04-02 17:08:45 +02:00
patches-5.15 lantiq: 5.15: fix compilation warning pciex fixup patch 2023-05-12 12:41:50 +02:00
xrx200 lantiq: xrx200: mark subtarget as source-only 2023-05-04 05:55:02 +02:00
xway lantiq: xway: kernel: enable SMP support 2022-11-18 20:27:52 +01:00
xway_legacy lantiq: copy Linux 5.10 files in preparation for Linux 5.15 support 2022-10-22 19:44:45 +02:00
config-5.10 kernel: Activate CONFIG_GPIOLIB in generic configuration 2022-08-10 21:36:17 +02:00
config-5.15 lantiq: copy Linux 5.10 files in preparation for Linux 5.15 support 2022-10-22 19:44:45 +02:00
Makefile lantiq: switch to Kernel 5.15 by default 2023-05-04 07:00:37 +02:00
modules.mk target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00