openwrt/target/linux
Nick Hainke eeeb0b5349 ramips: 6.1: pwm: rewrite mtk_pwm_ops to fix pwm driver
Upstream dropped support for legacy driver [0]. Rewrite the driver like
the renesas pwm driver [1].

Fixes erros in the form of:
   make: *** [/__w/openwrt/openwrt/openwrt/include/toplevel.mk:232: target/compile] Error 1
  ====== Make errors from logs/target/linux/compile.txt ======
        |                   ^~~~~~~~~~~~~~
  drivers/pwm/pwm-mediatek-ramips.c:107:19: note: (near initialization for 'mtk_pwm_ops.free')
  drivers/pwm/pwm-mediatek-ramips.c:108:10: error: 'const struct pwm_ops' has no member named 'disable'
    108 |         .disable = mtk_pwm_disable,
        |          ^~~~~~~
  drivers/pwm/pwm-mediatek-ramips.c:108:20: error: initialization of 'int (*)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int)' from incompatible pointer type 'void (*)(struct pwm_chip *, struct pwm_device *)' [-Werror=incompatible-pointer-types]
    108 |         .disable = mtk_pwm_disable,
        |                    ^~~~~~~~~~~~~~~
  drivers/pwm/pwm-mediatek-ramips.c:108:20: note: (near initialization for 'mtk_pwm_ops.capture')
  cc1: all warnings being treated as errors

[0] - 0829c35dc5
[1] - ec00cd5e63

Signed-off-by: Nick Hainke <vincent@systemli.org>
2024-02-10 13:06:05 +01:00
..
airoha kernel: bump 5.15 to 5.15.125 2023-08-09 22:06:24 +02:00
apm821xx apm821xx: convert to nvmem-layout 2023-11-25 22:50:32 +01:00
archs38 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
armsr kernel: bump 6.1 to 6.1.72 2024-01-19 21:24:44 +01:00
at91 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
ath25 kernel: bump 5.15 to 5.15.125 2023-08-09 22:06:24 +02:00
ath79 kernel: bump 6.1 to 6.1.77 2024-02-08 18:35:42 +01:00
bcm27xx kernel: bump 6.1 to 6.1.77 2024-02-08 18:35:42 +01:00
bcm47xx kernel: bump 5.15 to 5.15.146 2024-01-06 10:53:39 +01:00
bcm53xx kernel: backport upstream brcm_nvram fix for NAND controller 2023-12-18 08:33:04 +01:00
bcm63xx bcm63xx: convert to new LED color/function format where possible 2024-02-07 14:48:35 +01:00
bcm4908 kernel: bump 5.15 to 5.15.137 2023-10-27 19:43:06 +01:00
bmips bmips: dts: move leds dt-bindings include to SoCs 2024-02-08 09:45:26 +01:00
gemini kernel: bump 6.1 to 6.1.71 2024-01-06 12:52:49 +01:00
generic kernel: bump 6.1 to 6.1.77 2024-02-08 18:35:42 +01:00
imx imx: 6.1: refresh remaining patches 2024-02-02 17:31:43 +01:00
ipq40xx ipq40xx: fix dts error in LED color/function conversion 2024-02-09 01:44:19 +01:00
ipq806x ipq806x: fix dts error in LED color/function conversion 2024-02-08 00:01:22 +01:00
ixp4xx ixp4xx: add Generic subtarget definition 2023-12-09 14:45:50 +01:00
kirkwood kirkwood: convert to new LED color/function format where possible 2024-02-07 14:48:38 +01:00
lantiq lantiq: fix dts error in LED color/function conversion 2024-02-08 00:01:22 +01:00
layerscape layerscape: 5.15: refresh 2.5G-SGMII patch due to recent PHY backport 2024-01-26 15:49:12 +01:00
malta malta: Remove kernel 5.15 configuration 2024-02-03 04:35:25 +00:00
mediatek kernel: bump 6.1 to 6.1.76 2024-02-08 18:35:42 +01:00
mpc85xx mpc85xx: convert to new LED color/function format where possible 2024-02-07 14:48:40 +01:00
mvebu kernel: bump 6.1 to 6.1.77 2024-02-08 18:35:42 +01:00
mxs mxs: add testing kernel 6.1 2023-07-01 12:54:30 +02:00
octeon octeon: convert to new LED color/function format where possible 2024-02-07 14:48:41 +01:00
octeontx kernel: bump 5.15 to 5.15.148 2024-02-01 21:36:00 +01:00
omap treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
oxnas oxnas: do not use pcie-controller 2024-01-01 02:34:48 +01:00
pistachio kernel: fix mtd/NVMEM regression affecting U-Boot env NVMEM driver 2023-10-31 17:33:28 +01:00
qoriq qoriq: pad rootfs with zeros 2023-12-02 14:06:56 +02:00
qualcommax qualcommax: refresh kernel patches 2024-02-09 14:33:43 +01:00
ramips ramips: 6.1: pwm: rewrite mtk_pwm_ops to fix pwm driver 2024-02-10 13:06:05 +01:00
realtek realtek: convert to new LED color/function format where possible 2024-02-07 14:48:44 +01:00
rockchip rockchip: fix boot from non-MMC devices 2024-01-19 21:31:39 +01:00
sifiveu kernel: remove CONFIG_DEVTMPFS_SAFE from target config 2023-11-19 16:46:24 +01:00
sunxi sunxi: mark upstreamed patches as such 2023-12-19 16:02:05 +01:00
tegra treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
uml kernel: bump 6.1 to 6.1.53 2023-09-23 13:10:28 +02:00
x86 Revert "x86: add support for Mellanox Spectrum SN2000 Switches" 2023-12-23 07:52:05 +00:00
zynq generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
Makefile linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00