1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 22:18:16 +02:00
openwrt/package
Adrian Schmutzler d761b9f211 broadcom-wl: fix compilation with kernel >= 4.15
Since kernel 4.15, init_timer is not available anymore, and has been
replaced by timer_setup. The fixes compilation of wl_linuc.c, which
returned the following errors beforehand (line-wrapped manually):

.../broadcom-wl-5.10.56.27.3/driver/wl_linux.c: In function 'wl_init_timer':
.../broadcom-wl-5.10.56.27.3/driver/wl_linux.c:2576:2: error: implicit
	declaration of function 'init_timer'; did you mean 'init_timers'?
	[-Werror=implicit-function-declaration]
  init_timer(&t->timer);
  ^~~~~~~~~~
  init_timers
.../broadcom-wl-5.10.56.27.3/driver/wl_linux.c:2577:10: error:
	'struct timer_list' has no member named 'data'
  t->timer.data = (ulong) t;
          ^
.../broadcom-wl-5.10.56.27.3/driver/wl_linux.c:2578:20: error: assignment
	to 'void (*)(struct timer_list *)' from incompatible pointer type
	'void (*)(ulong)' {aka 'void (*)(long unsigned int)'}
	[-Werror=incompatible-pointer-types]
  t->timer.function = wl_timer;

This should fix build of several devices on bcm63xx with testing
kernel (4.19).

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-04-12 12:35:37 +02:00
..
base-files base-files: add enabled commands to service rc.common 2020-04-08 22:07:18 +02:00
boot grub2: fix build when ASLR enabled 2020-04-02 13:42:26 +01:00
devel strace: update to version 5.5 2020-02-24 23:25:28 +01:00
firmware ipq40xx: add support for Cell C RTL30VW 2020-04-10 15:22:26 +02:00
kernel broadcom-wl: fix compilation with kernel >= 4.15 2020-04-12 12:35:37 +02:00
libs jansson: convert to cmake 2020-04-01 16:36:04 +01:00
network iproute2: update to 5.6.0 2020-04-11 21:02:26 +02:00
system procd: bump to latest HEAD 2020-04-09 13:07:22 +01:00
utils e2fsprogs: Update to 1.45.6 2020-04-09 22:08:16 +02:00
Makefile packages: apply usign padding workarounds to package indexes if needed 2019-08-07 07:15:07 +02:00