openwrt/target/linux/ramips
Nick Hainke 3358045d1d ramips: 6.1: pinctrl: fix compilation with 6.1
Upstream changed in ed5c2f5fd10d ("i2c: Make remove callback return void")
the i2c driver's remove function to return no value. Adapt the driver code
to compile with 5.15 and 6.1 like it is done in other projects [0].

Fixes errors in the form of:
  make[8]: Leaving directory '/home/nick/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-6.1.29'
    CC      drivers/pinctrl/pinctrl-aw9523.o
  drivers/pinctrl/pinctrl-aw9523.c:1117:19: error: initialization of 'void (*)(struct i2c_client *)' from incompatible pointer type 'int (*)(struct i2c_client *)' [-Werror=incompatible-pointer-types]
 1117 |         .remove = aw9523_remove,
      |                   ^~~~~~~~~~~~~
  drivers/pinctrl/pinctrl-aw9523.c:1117:19: note: (near initialization for 'aw9523_driver.remove')
  cc1: all warnings being treated as errors

[0] - https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/10/diffs

Signed-off-by: Nick Hainke <vincent@systemli.org>
2024-02-10 13:06:05 +01:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: fix dts error in LED color/function conversion 2024-02-08 00:01:22 +01:00
files/drivers ramips: 6.1: pinctrl: fix compilation with 6.1 2024-02-10 13:06:05 +01:00
image ramips: mt76x8: add support for TP-Link RE365 v1 2024-01-10 20:56:06 +01:00
mt76x8 ramips: 6.1: copy config and patches 2024-02-10 13:06:05 +01:00
mt7620 ramips: 6.1: copy config and patches 2024-02-10 13:06:05 +01:00
mt7621 ramips: 6.1: copy config and patches 2024-02-10 13:06:05 +01:00
patches-5.15 kernel: bump 5.15 to 5.15.148 2024-02-01 21:36:00 +01:00
patches-6.1 ramips: 6.1: mt7621-dma: apply dma handle error from device_reset patch 2024-02-10 13:06:05 +01:00
rt288x ramips: 6.1: copy config and patches 2024-02-10 13:06:05 +01:00
rt305x ramips: 6.1: copy config and patches 2024-02-10 13:06:05 +01:00
rt3883 ramips: 6.1: copy config and patches 2024-02-10 13:06:05 +01:00
Makefile ramips: Switch default kernel to 5.15 2023-02-17 16:31:53 +02:00
modules.mk ramips: 6.1: mt7621-dma: add hsdma driver to files 2024-02-10 13:06:05 +01:00