diff options
Diffstat (limited to '0003-linux-4.20.patch')
-rw-r--r-- | 0003-linux-4.20.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/0003-linux-4.20.patch b/0003-linux-4.20.patch new file mode 100644 index 000000000000..3a78095a46a7 --- /dev/null +++ b/0003-linux-4.20.patch @@ -0,0 +1,15 @@ +*** a/ax88179_178a.c 2018-01-02 09:37:42.000000000 +0100 +--- b/ax88179_178a.c 2019-01-16 12:00:01.200486283 +0100 +*************** +*** 813,820 **** +--- 813,822 ---- + .set_wol = ax88179_set_wol, + .get_eeprom_len = ax88179_get_eeprom_len, + .get_eeprom = ax88179_get_eeprom, ++ #if LINUX_VERSION_CODE < KERNEL_VERSION(4,20,0) + .get_settings = ax88179_get_settings, + .set_settings = ax88179_set_settings, ++ #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(4,20,0) */ + #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0) + .set_tx_csum = ax88179_set_tx_csum, + .get_tx_csum = ax88179_get_tx_csum, |