1
1
openwrt/package
Shiji Yang 87ae122fd1 kernel: kmod-ltq-atm: fix discarded-qualifiers build error
Fixes:

ltq_atm.c: In function 'ltq_atm_probe':
ltq_atm.c:1840:36: error: passing argument 2 of 'platform_set_drvdata' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
 1840 |         platform_set_drvdata(pdev, ops);
      |                                    ^~~
In file included from ltq_atm.c:40:
/workspaces/openwrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/linux-6.18.21/include/linux/platform_device.h:276:47: note: expected 'void *' but argument is of type 'const struct ltq_atm_ops *'
  276 |                                         void *data)
      |                                         ~~~~~~^~~~

Fixes: c1fa85f659 ("treewide: use of_device_get_match_data")
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22921
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-04-16 11:34:28 +02:00
..
base-files base-files: sysupgrade: -u option was broken with apk 2026-04-13 01:27:55 +02:00
boot uboot-tools: fix libyaml linker error 2026-04-14 19:17:47 +02:00
devel gdb: add CPPFLAGS 2026-02-17 22:16:58 +01:00
firmware linux-firmware: update to 20260410 2026-04-12 10:22:01 +02:00
kernel kernel: kmod-ltq-atm: fix discarded-qualifiers build error 2026-04-16 11:34:28 +02:00
libs openssl: update to 3.5.6 2026-04-11 12:18:54 +02:00
network wifi-scripts: add EHT rates to set_fixed_freq 2026-04-12 18:36:20 +02:00
system procd: update to Git HEAD (2026-03-25) 2026-04-13 11:55:37 +09:00
utils e2fsprogs: update to version 1.47.4 2026-04-07 01:31:04 +02:00
Makefile build: propagate errors when generating apk indexes 2026-02-13 21:17:21 +01:00