immortalwrt/package/kernel
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
..
acx-mac80211 kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
ar7-atm kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
ath10k-ct kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
avila-wdt kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to latest version from RPi foundation 2020-03-31 19:54:00 +08:00
broadcom-wl broadcom-wl: fix compilation with kernel >= 4.15 2020-04-14 02:55:38 +08:00
button-hotplug kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
cryptodev-linux cryptodev-linux: remove DEFAULT redefinition 2020-01-21 14:33:38 +08:00
dtc/patches fix & merge 2019-09-30 13:21:19 +08:00
gpio-button-hotplug kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
gpio-nct5104d kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
hwmon-gsc kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
i2c-gpio-custom kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
kmod-sched-cake kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
lantiq lantiq: ltq-deu: fix compatibility with Linux 5.3+ 2020-04-14 02:54:21 +08:00
leds-apu2 kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
linux kernel: Make kmod-rtc-pcf2123 depend on kmod-regmap-spi 2020-04-14 02:52:32 +08:00
mac80211 ipq40xx: enable ath10k_thermal by default 2020-04-05 11:28:04 +08:00
mt76 mt76: update 2020-04-10 21:56:47 +08:00
mwlwifi kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
nat46 nat46: Fix compile with kernel 5.4 2020-04-14 02:41:14 +08:00
om-watchdog fix & merge 2019-09-30 13:21:19 +08:00
rtc-rv5c386a kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
rtl8812au-ct kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
spi-gpio-custom kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
trelay kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00
w1-gpio-custom kernel: replace SUBDIRS with M in package recipes 2020-04-14 00:04:04 +08:00