summaryrefslogtreecommitdiffstats
path: root/loopback
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-25 15:56:58 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:49 +1100
commit18007ca500654b48011e8a8cf96c47b1a5aa3be7 (patch)
tree059c2e3824a3f08510ba286643147208d7de3c93 /loopback
parent6e5b92cb45996adaa309b9534a53ed81989986de (diff)
Move system-leavel header to sound directory
Change include guards to reflect Linux sound driver format Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'loopback')
-rw-r--r--loopback/Makefile2
-rw-r--r--loopback/loopback.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/loopback/Makefile b/loopback/Makefile
index 0464aba..9d3c606 100644
--- a/loopback/Makefile
+++ b/loopback/Makefile
@@ -4,4 +4,4 @@ obj-$(CONFIG_AVIRT_LOOPBACKAP) += avirt_loopbackap.o
$(info $(src))
avirt_loopbackap-objs := loopback.o
ccflags-y += -Idrivers/staging/
-ccflags-y += -I$(src)/../../
+ccflags-y += -I$(src)/../
diff --git a/loopback/loopback.c b/loopback/loopback.c
index acddf99..ba9225e 100644
--- a/loopback/loopback.c
+++ b/loopback/loopback.c
@@ -27,13 +27,12 @@
#include <linux/wait.h>
#include <linux/module.h>
#include <linux/platform_device.h>
-#include <sound/core.h>
#include <sound/control.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/info.h>
#include <sound/initval.h>
-#include <avirt/core.h>
+#include <sound/avirt.h>
MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>");
MODULE_DESCRIPTION("Loopback Audio Path for AVIRT");