File: mts64.patch

package info (click to toggle)
alsa-driver 1.0.23%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 28,448 kB
  • ctags: 77,491
  • sloc: ansic: 473,525; sh: 3,307; makefile: 2,661; python: 1,527; perl: 1,316; awk: 66
file content (27 lines) | stat: -rw-r--r-- 967 bytes parent folder | download | duplicates (2)
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
--- ../alsa-kernel/drivers/mts64.c	2007-12-20 10:20:40.000000000 +0100
+++ mts64.c	2007-12-20 11:09:20.000000000 +0100
@@ -1,3 +1,4 @@
+#include "adriver.h"
 /*     
  *   ALSA Driver for Ego Systems Inc. (ESI) Miditerminal 4140
  *   Copyright (c) 2006 by Matthias König <mk@phasorlab.de>
@@ -833,7 +834,13 @@
 /*********************************************************************
  * parport stuff
  *********************************************************************/
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
 static void snd_mts64_interrupt(void *private)
+#elif defined(CONFIG_SND_NEW_IRQ_HANDLER)
+static void snd_mts64_interrupt(int irq, void *private)
+#else
+static void snd_mts64_interrupt(int irq, void *private, struct pt_regs *reg)
+#endif
 {
 	struct mts64 *mts = ((struct snd_card*)private)->private_data;
 	u16 ret;
@@ -1086,3 +1093,5 @@
 
 module_init(snd_mts64_module_init);
 module_exit(snd_mts64_module_exit);
+
+EXPORT_NO_SYMBOLS;