ltq-atm/ltq-ptm: add kernel 5.10 compatiblity
authorMathias Kresin <dev@kresin.me>
Sun, 27 Dec 2020 18:42:24 +0000 (19:42 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 27 Mar 2023 16:42:28 +0000 (18:42 +0200)
commit3d93d2cea5ce1f6120da4233cfdb168d408ad923
tree47199fc9e23f186427f5630ec1ca7389737ac3eb
parenta4f065a646c103d95a0b27ca827a7a93a5e47514
ltq-atm/ltq-ptm: add kernel 5.10 compatiblity

The callback handling of the tasklet API was redesigned and the macros
using the old syntax renamed to _OLD.

The stuck queue is now passed to ndo_tx_timeout callback but not used so
far.

Signed-off-by: Mathias Kresin <dev@kresin.me>
(cherry picked from commit 804c541446ab8e3fab11dba5d8fe07807af7fac5)
[Add DECLARE_TASKLET handling for kernel 5.4.235 too]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/lantiq/ltq-atm/src/ltq_atm.c
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c