summarylogtreecommitdiffstats
path: root/bm_util.c_5.13.4-200.fc34.x86_64.patch
diff options
context:
space:
mode:
authorThéo Le Calvar2021-09-11 09:51:31 +0200
committerThéo Le Calvar2021-09-11 09:51:31 +0200
commitd5330392bf5f35794a4247661d2e457b64e40dff (patch)
treef6a0906a36db0c4b87a30fe77fd5d703f600253b /bm_util.c_5.13.4-200.fc34.x86_64.patch
parentd221118b557fd0319e8fef7e3e9a799de537f95f (diff)
downloadaur-d5330392bf5f35794a4247661d2e457b64e40dff.tar.gz
fix compilation error with linux 5.13
Diffstat (limited to 'bm_util.c_5.13.4-200.fc34.x86_64.patch')
-rw-r--r--bm_util.c_5.13.4-200.fc34.x86_64.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/bm_util.c_5.13.4-200.fc34.x86_64.patch b/bm_util.c_5.13.4-200.fc34.x86_64.patch
new file mode 100644
index 000000000000..7ef1c0a4573f
--- /dev/null
+++ b/bm_util.c_5.13.4-200.fc34.x86_64.patch
@@ -0,0 +1,18 @@
+--- a/blackmagic-io-12.1a9/bm_util.old.c 2021-05-17 15:44:36.000000000 +1000
++++ b/blackmagic-io-12.1a9/bm_util.c 2021-07-26 14:46:37.088542000 +1000
+@@ -24,7 +24,6 @@
+ ** DEALINGS IN THE SOFTWARE.
+ ** -LICENSE-END-
+ */
+-#include <asm/io.h>
+ #include <linux/delay.h>
+ #include <linux/hash.h>
+ #include <linux/interrupt.h>
+@@ -41,6 +40,7 @@
+ #include <linux/uaccess.h>
+ #include <linux/vmalloc.h>
+ #include <linux/wait.h>
++#include <asm/io.h>
+ #include "bm_version.h"
+ #if KERNEL_VERSION_OR_LATER(2, 6, 20)
+ #include <linux/freezer.h>