Commit 806c1360 authored by schrieveslaach's avatar schrieveslaach

Fix patch file: further compile errors

parent 3dbcf378
......@@ -258,15 +258,29 @@ diff -ruN linux-tbs-drivers-bak/linux/drivers/media/video/pvrusb2/pvrusb2-ioread
#include <asm/uaccess.h>
#define BUFFER_COUNT 32
diff -ruN linux-tbs-drivers-bak/linux/drivers/media/video/saa7164/saa7164-i2c.c linux-tbs-drivers/linux/drivers/media/video/saa7164/saa7164-i2c.c
--- linux-tbs-drivers-bak/linux/drivers/media/video/saa7164/saa7164-i2c.c 2021-01-09 20:06:41.089627006 +0100
+++ linux-tbs-drivers/linux/drivers/media/video/saa7164/saa7164-i2c.c 2021-01-09 21:29:23.323640322 +0100
@@ -109,8 +109,8 @@
memcpy(&bus->i2c_adap, &saa7164_i2c_adap_template,
sizeof(bus->i2c_adap));
- memcpy(&bus->i2c_algo, &saa7164_i2c_algo_template,
- sizeof(bus->i2c_algo));
+ // FIXME: memcpy(&bus->i2c_algo, &saa7164_i2c_algo_template,
+ // sizeof(bus->i2c_algo));
memcpy(&bus->i2c_client, &saa7164_i2c_client_template,
sizeof(bus->i2c_client));
diff -ruN linux-tbs-drivers-bak/linux/drivers/media/video/sh_mobile_ceu_camera.c linux-tbs-drivers/linux/drivers/media/video/sh_mobile_ceu_camera.c
--- linux-tbs-drivers-bak/linux/drivers/media/video/sh_mobile_ceu_camera.c 2021-01-09 20:06:41.052960186 +0100
+++ linux-tbs-drivers/linux/drivers/media/video/sh_mobile_ceu_camera.c 2021-01-09 21:19:54.015777193 +0100
+++ linux-tbs-drivers/linux/drivers/media/video/sh_mobile_ceu_camera.c 2021-01-09 21:23:44.678224322 +0100
@@ -2027,7 +2027,7 @@
err = dma_declare_coherent_memory(&pdev->dev, res->start,
res->start,
resource_size(res),
- DMA_MEMORY_MAP |
+ V4L2_MEMORY_MAP |
+ V4L2_MEMORY_MMAP |
DMA_MEMORY_EXCLUSIVE);
if (!err) {
dev_err(&pdev->dev, "Unable to declare CEU memory.\n");
......
......@@ -21,7 +21,7 @@ source=("http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_$_tbsv
sha256sums=('50a21c0f37c2bf185b377f5287872a86f404988481a67ce391ff1ce28ce37636'
'3fdfa6f14af91b3301f0f29c2a2386a7f84504688c766e714287ad8d450e2a57'
'f4daf35aba3179a0c9f1bcc6ac52ce5c1c6d5b6b4c29406262e3ff204e59a2d0')
'fbebb49ba90ad72868d3c63c57ced2049a4ed9f5605a2f9e1f859638bfcf58f0')
pkgver() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment