tn3399_openwrt/package/kernel/broadcom-wl/patches
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
..
003-compat-2.6.35.patch
004-remove-pcmcia.patch
005-fix-mem-leak-on-unload.patch
006-generic-dma-api.patch broadcom-wl: assign first increased mac address to internal wifi core 2014-07-07 17:38:54 +00:00
007-use-glue-driver.patch broadcom-wl: perform additional cleanup on wl module unload 2013-11-11 22:03:58 +00:00
008-fix_virtual_interfaces.patch broadcom-wl: fix crash when starting multiple virtual interfaces 2013-11-11 22:04:26 +00:00
009-fix_compile_3_2.patch broadcom-wl: fix crash when starting multiple virtual interfaces 2013-11-11 22:04:26 +00:00
010-remove_irqf_samble_random.patch broadcom-wl: assign first increased mac address to internal wifi core 2014-07-07 17:38:54 +00:00
011-fix_compile_3_4.patch
012-compat-3.10.patch broadcom-wl: fix crash when starting multiple virtual interfaces 2013-11-11 22:04:26 +00:00
013-interface-name.patch broadcom-wl: fix crash when starting multiple virtual interfaces 2013-11-11 22:04:26 +00:00
014-fix-band-reporting.patch broadcom-wl: assign first increased mac address to internal wifi core 2014-07-07 17:38:54 +00:00
015-support-probe-of-wds-interfaces.patch broadcom-wl: support probe of 'wds' devices 2013-11-11 22:04:53 +00:00
020-musl-fixes.patch broadcom-wl: fix build with musl 2015-06-17 22:37:49 +00:00
030-remove_devinit_devexit.patch broadcom-wl: fix section mismatches in broadcom-wl driver 2015-08-29 17:37:41 +00:00
040-remove_last_rx_usage.patch broadcom-wl: fix compilation with 4.14 2018-02-11 23:15:05 +01:00
100-fix_nvram_two_devices.patch broadcom-wl: fix compiler warning 2013-11-11 21:56:45 +00:00
110-add_number_to_dev_name.patch broadcom-wl: fix crash when starting multiple virtual interfaces 2013-11-11 22:04:26 +00:00
120-fixup-mac-addresses.patch broadcom-wl: fix compile with kernel 4.9 2017-10-18 23:26:15 +02:00
200-add_bcm_a8xx_support.patch broadcom-wl: add support for a8xx broadcom devices 2014-08-08 22:58:54 +00:00
910-fallback-sprom.patch brcm-wl: use new brcm63xx fallback sprom 2014-10-02 12:24:05 +00:00
912-pci-bus-nvram-hack.patch
913-avoid-dbe-on-ifs_ctl-readw-hack.patch
914-eliminate-date-time-error.patch broadcom_wl: eliminate compiler error with gcc-4.9-linaro 2014-10-24 18:05:51 +00:00
915-fix-wl_timer-for-4_15.patch broadcom-wl: fix compilation with kernel >= 4.15 2020-04-12 12:35:37 +02:00