You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
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 10 years ago
007-use-glue-driver.patch broadcom-wl: perform additional cleanup on wl module unload 11 years ago
008-fix_virtual_interfaces.patch broadcom-wl: fix crash when starting multiple virtual interfaces 11 years ago
009-fix_compile_3_2.patch broadcom-wl: fix crash when starting multiple virtual interfaces 11 years ago
010-remove_irqf_samble_random.patch broadcom-wl: assign first increased mac address to internal wifi core 10 years ago
011-fix_compile_3_4.patch
012-compat-3.10.patch broadcom-wl: fix crash when starting multiple virtual interfaces 11 years ago
013-interface-name.patch broadcom-wl: fix crash when starting multiple virtual interfaces 11 years ago
014-fix-band-reporting.patch broadcom-wl: assign first increased mac address to internal wifi core 10 years ago
015-support-probe-of-wds-interfaces.patch broadcom-wl: support probe of 'wds' devices 11 years ago
020-musl-fixes.patch broadcom-wl: fix build with musl 9 years ago
030-remove_devinit_devexit.patch broadcom-wl: fix section mismatches in broadcom-wl driver 9 years ago
040-remove_last_rx_usage.patch broadcom-wl: fix compilation with 4.14 6 years ago
100-fix_nvram_two_devices.patch broadcom-wl: fix compiler warning 11 years ago
110-add_number_to_dev_name.patch broadcom-wl: fix crash when starting multiple virtual interfaces 11 years ago
120-fixup-mac-addresses.patch broadcom-wl: fix compile with kernel 4.9 7 years ago
200-add_bcm_a8xx_support.patch broadcom-wl: add support for a8xx broadcom devices 10 years ago
910-fallback-sprom.patch brcm-wl: use new brcm63xx fallback sprom 10 years ago
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 10 years ago
915-fix-wl_timer-for-4_15.patch broadcom-wl: fix compilation with kernel >= 4.15 4 years ago