openwrt/target/linux/ath79/files/drivers
Koen Vandeputte d382756b85
ath79: mikrotik: fix build error with kernel 6.1
drivers/mfd/rb4xx-cpld.c:167:19: error: initialization of 'void (*)(struct spi_device *)' from incompatible pointer type 'int (*)(struct spi_device *)' [-Werror=incompatible-pointer-types]
  167 |         .remove = rb4xx_cpld_remove,
      |                   ^~~~~~~~~~~~~~~~~
drivers/mfd/rb4xx-cpld.c:167:19: note: (near initialization for 'rb4xx_cpld_driver.remove')
cc1: some warnings being treated as errors
make[8]: *** [scripts/Makefile.build:250: drivers/mfd/rb4xx-cpld.o] Error 1
make[7]: *** [scripts/Makefile.build:500: drivers/mfd] Error 2
make[6]: *** [scripts/Makefile.build:500: drivers] Error 2
make[5]: *** [Makefile:2012: .] Error 2

As the allocated function does nothing, simply delete it.

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2023-10-06 21:53:13 +02:00
..
gpio ath79: gpio-latch: fix compilation warning for wrong dev_err % 2023-05-12 03:15:42 +02:00
mfd ath79: mikrotik: fix build error with kernel 6.1 2023-10-06 21:53:13 +02:00
mtd ath79: ar934x: still advertise subpage on soft ecc 2023-05-14 00:08:35 +02:00
net/ethernet/atheros/ag71xx ath79: fix ethernet driver build errors on kernel 6.1 2023-09-08 18:06:30 +02:00