immortalwrt/package
Adrian Schmutzler ae10bb2273
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-14 02:55:38 +08:00
..
base-files base-files: profile: easy to use 2020-03-30 01:05:29 +08:00
boot ramips: add xiaomi_miwifi-r3 support (#3839) 2020-03-17 01:39:45 +08:00
ctcgfw kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
devel treewide: sync with upstream source 2020-03-28 23:37:17 +08:00
firmware cypress-firmware: update to v5.4.18-2020_0402 2020-04-13 21:50:36 +08:00
kernel broadcom-wl: fix compilation with kernel >= 4.15 2020-04-14 02:55:38 +08:00
lean r8125: do not support kernel5.4 2020-04-14 00:18:52 +08:00
libs openssl: refresh download urls 2020-04-09 06:51:56 +08:00
lienol luci-app-passwall: sync with upstream source 2020-04-12 00:39:45 +08:00
network iproute2: update to 5.6.0 2020-04-12 07:43:09 +08:00
ntlf9t kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
system rpcd: bump version 2020-04-09 14:17:36 +08:00
utils e2fsprogs: Update to 1.45.6 2020-04-10 09:16:36 +08:00
zxlhhyccc luci-app-k3usb: sort out files 2020-04-13 02:38:54 +08:00
Makefile sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00