[PATCH] alsa-driver-build: Make new jack API compile on older kernels
David Henningsson
david.henningsson at canonical.com
Tue Nov 29 19:41:27 CET 2011
Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
acore/ctljack.c | 4 ++++
pci/hda/hda_jack.c | 3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
create mode 100644 acore/ctljack.c
create mode 100644 pci/hda/hda_jack.c
diff --git a/acore/ctljack.c b/acore/ctljack.c
new file mode 100644
index 0000000..4d9352f
--- /dev/null
+++ b/acore/ctljack.c
@@ -0,0 +1,4 @@
+#define __NO_VERSION__
+#include "adriver.h"
+#include "../alsa-kernel/core/ctljack.c"
+
diff --git a/pci/hda/hda_jack.c b/pci/hda/hda_jack.c
new file mode 100644
index 0000000..160ad73
--- /dev/null
+++ b/pci/hda/hda_jack.c
@@ -0,0 +1,3 @@
+#include "adriver.h"
+#include "../../alsa-kernel/pci/hda/hda_jack.c"
+
--
1.7.5.4
--------------050907080508000907070701
Content-Type: text/x-patch;
name="0001-ALSA-HDA-Jack-Make-device-indices-for-HDMI.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename*0="0001-ALSA-HDA-Jack-Make-device-indices-for-HDMI.patch"
More information about the Alsa-devel
mailing list