summarylogtreecommitdiffstats
path: root/kernel_4.11_fix.patch
blob: 4d2a57fb0d8708d408ed2a68d5752d10484d29f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: Matthias Bach <marix@marix.org>
Date: 20117-05-26 20:20:00 +0200
Subject: Fix compile on kernel 4.11
Upstream: to be done

The module no longer compiled on 4.11

diff -Naru bulk.c bulk.c
--- bulk.c	2009-01-27 15:25:50.000000000 +0100
+++ bulk.c	2017-05-26 20:00:46.941268724 +0200
@@ -37,6 +37,9 @@
 #if ( LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,24) )
 #include <sound/driver.h>
 #endif
+#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0) )
+#include <linux/sched/signal.h>
+#endif
 #include <sound/core.h>
 #include <sound/info.h>
 #include <sound/initval.h>
diff -Naru configuration_manager.c configuration_manager.c
--- configuration_manager.c	2009-01-27 15:25:50.000000000 +0100
+++ configuration_manager.c	2017-05-26 20:02:11.079953245 +0200
@@ -29,6 +29,9 @@
 #if ( LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,24) )
 #include <sound/driver.h>
 #endif
+#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0) )
+#include <linux/sched/signal.h>
+#endif
 #include <sound/core.h>
 #include <sound/info.h>
 #include <sound/initval.h>