mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-03-01 10:35:23 +00:00
6fbed4920a6db43f5859d0818cefbe2ad97099e9
pci_set_dma_mask
Starting with Linux 5.18 `pci_set_dma_mask` has been removed. This patch
mimics commit 887069f42455 (media: switch from 'pci_' to 'dma_' API, Sun
Aug 22 11:30:08 2021 +0200) from upstream and thus prevents the
following compilation error.
ddbridge/ddbridge-main.c: In function ‘ddb_probe’:
ddbridge/ddbridge-main.c:286:14: error: implicit declaration of function ‘pci_set_dma_mask’; did you mean ‘ipi_send_mask’? [-Werror=implicit-function-declaration]
286 | if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
| ^~~~~~~~~~~~~~~~
| ipi_send_mask
ddbridge/ddbridge-main.c:287:17: error: implicit declaration of function ‘pci_set_consistent_dma_mask’ [-Werror=implicit-function-declaration]
287 | pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
DDBridge Driver
Patches
We can only accept patches which don't break compilation for older kernels (as far back as 2.6.37).
Due to this and other changes not approved by us the kernel version of the ddbridge driver might contain incompatiblities to this driver package.
For installation instructions see:
http://support.digital-devices.eu/index.php?article=152
Prepare for Building
TBD
Building
TBD
Description
Languages
C
99.7%
Makefile
0.3%