package/dahdi-linux: fix build with kernel < 6.3
Buildroot commit 840b5527466502f02b86c95f9bf95557d35c8571 added a patch
from upstream bug tracker which fixes build with kernel >= 6.3 but broke
the build with earlier kernels.
This patch adds additional code for compatibility with kernel < 6.3.
Fixes:
http://autobuild.buildroot.net/results/c8c/c8c51153d3a61842d57a2a4be3dc75ec9964e41c/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 353c06849bc9f9549f0cabefa74c915ce98ae528)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
1 file changed