summaryrefslogtreecommitdiff
path: root/system/easy-kernel/asound-syntax-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/easy-kernel/asound-syntax-fix.patch')
-rw-r--r--system/easy-kernel/asound-syntax-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/easy-kernel/asound-syntax-fix.patch b/system/easy-kernel/asound-syntax-fix.patch
new file mode 100644
index 000000000..682afb296
--- /dev/null
+++ b/system/easy-kernel/asound-syntax-fix.patch
@@ -0,0 +1,11 @@
+--- linux-5.4/include/uapi/sound/asound.h.old 2019-12-28 10:44:33.650684482 +0000
++++ linux-5.4/include/uapi/sound/asound.h 2019-12-28 10:45:28.854780162 +0000
+@@ -471,7 +471,7 @@
+
+ #ifndef __KERNEL__
+ /* explicit padding avoids incompatibility between i386 and x86-64 */
+-typedef struct { unsigned char pad[sizeof(time_t) - sizeof(int)] __time_pad;
++typedef struct { unsigned char pad[sizeof(time_t) - sizeof(int)] } __time_pad;
+
+ struct snd_pcm_status {
+ snd_pcm_state_t state; /* stream state */