diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-04-03 17:16:35 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-04-12 12:41:12 +0200 |
commit | 23d3fafd87f9040a9b90873d81ab52539470649e (patch) | |
tree | 76b8c1c22edec496916fd991f890744e05a1769d /target/linux/bcm63xx/patches-5.4/420-BCM63XX-add-endian-check-for-ath9k.patch | |
parent | 6c521f6828833d911c8a3dabc6849f3045bcc5ac (diff) | |
download | upstream-23d3fafd87f9040a9b90873d81ab52539470649e.tar.gz upstream-23d3fafd87f9040a9b90873d81ab52539470649e.tar.bz2 upstream-23d3fafd87f9040a9b90873d81ab52539470649e.zip |
broadcom-wl: fix compilation with kernel 5.4
This adds two fixes for compilation with kernel 5.4:
1. dev_open from include/linux/netdevice.h needs a second parameter
since kernel 5.0:
00f54e68924e ("net: core: dev: Add extack argument to dev_open()")
2. get_ds() macro definition has been dropped since kernel 5.1:
736706bee329 ("get rid of legacy 'get_ds()' function")
Since get_ds() has been just a macro before, replace it in
the driver instead of creating a version switch.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/bcm63xx/patches-5.4/420-BCM63XX-add-endian-check-for-ath9k.patch')
0 files changed, 0 insertions, 0 deletions