kumquat-buildroot/package/dahdi-linux
Fabrice Fontaine c4db8416ff package/dahdi-linux: fix build with kernel >= 5.18
Fix the following build failure with kernel >= 5.18 raised since bump to
version 3.2.0 in commit 6cbfed0dbf:

/home/autobuild/autobuild/instance-0/output-1/build/dahdi-linux-3.2.0/drivers/dahdi/wct4xxp/base.c: In function ‘t4_allocate_buffers’:
/home/autobuild/autobuild/instance-0/output-1/build/dahdi-linux-3.2.0/drivers/dahdi/wct4xxp/base.c:3864:17: error: implicit declaration of function ‘pci_alloc_consistent’ [-Werror=implicit-function-declaration]
 3864 |         alloc = pci_alloc_consistent(wc->dev, numbufs * T4_BASE_SIZE(wc) * 2,
      |                 ^~~~~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/ddacd807dddeb1649e957264ac57bba27d9bb463

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-10-30 15:02:56 +01:00
..
0001-drivers-dahdi-Kbuild-fix-HOTPLUG_FIRMWARE-definition.patch
0002-fix-build-with-32-bits-kernel.patch
0003-Fixed-compilation-issues-on-linux-kernel-5-18-0.patch package/dahdi-linux: fix build with kernel >= 5.18 2022-10-30 15:02:56 +01:00
Config.in
dahdi-linux.hash
dahdi-linux.mk