ramips: pci-rt2880: 6.12: change pcibios_init declaration
authorMieczyslaw Nalewaj <[email protected]>
Sun, 11 May 2025 14:21:36 +0000 (16:21 +0200)
committerHauke Mehrtens <[email protected]>
Wed, 11 Jun 2025 12:12:26 +0000 (14:12 +0200)
commit02c991a14137fce2ea2804015402c3f0b2669e16
tree0d3ab78d09c57a005cf75e70310c975ab3ff0798
parentd798bef016695726a6e3f78b921f24583feafebd
ramips: pci-rt2880: 6.12: change pcibios_init declaration

Fixes error:
arch/mips/pci/pci-rt2880.c:267:12: error: no previous prototype for 'pcibios_init' [-Werror=missing-prototypes]
  267 | int __init pcibios_init(void)
      |            ^~~~~~~~~~~~
cc1: all warnings being treated as errors
make[8]: *** [scripts/Makefile.build:229: arch/mips/pci/pci-rt2880.o] Error 1
make[7]: *** [scripts/Makefile.build:478: arch/mips/pci] Error 2

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18654
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/ramips/patches-6.12/900-pci-rt2880-static-pcibios_init.patch [new file with mode: 0644]