]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: Intel: create common folder and move common files in
authorJie Yang <yang.jie@intel.com>
Thu, 2 Apr 2015 07:37:00 +0000 (15:37 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 6 Apr 2015 16:49:45 +0000 (17:49 +0100)
Restructure the sound/soc/intel/ directory: create common folder, and move
sst common files here.

Signed-off-by: Jie Yang <yang.jie@intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
14 files changed:
sound/soc/intel/Makefile
sound/soc/intel/common/Makefile [new file with mode: 0644]
sound/soc/intel/common/sst-acpi.c [moved from sound/soc/intel/sst-acpi.c with 100% similarity]
sound/soc/intel/common/sst-dsp-priv.h [moved from sound/soc/intel/sst-dsp-priv.h with 100% similarity]
sound/soc/intel/common/sst-dsp.c [moved from sound/soc/intel/sst-dsp.c with 100% similarity]
sound/soc/intel/common/sst-dsp.h [moved from sound/soc/intel/sst-dsp.h with 100% similarity]
sound/soc/intel/common/sst-firmware.c [moved from sound/soc/intel/sst-firmware.c with 100% similarity]
sound/soc/intel/sst/sst.c
sound/soc/intel/sst/sst_acpi.c
sound/soc/intel/sst/sst_drv_interface.c
sound/soc/intel/sst/sst_ipc.c
sound/soc/intel/sst/sst_loader.c
sound/soc/intel/sst/sst_pvt.c
sound/soc/intel/sst/sst_stream.c

index a8e53c45c6b655953ef93034bbc238707611b313..28de8cd6f321ee9b0ff6344891abc736e7e89a0f 100644 (file)
@@ -1,6 +1,5 @@
 # Core support
-snd-soc-sst-dsp-objs := sst-dsp.o sst-firmware.o
-snd-soc-sst-acpi-objs := sst-acpi.o
+obj-$(CONFIG_SND_SOC_INTEL_SST) += common/
 
 snd-soc-sst-mfld-platform-objs := sst-mfld-platform-pcm.o \
        sst-mfld-platform-compress.o sst-atom-controls.o
@@ -9,9 +8,6 @@ snd-soc-mfld-machine-objs := mfld_machine.o
 obj-$(CONFIG_SND_SST_MFLD_PLATFORM) += snd-soc-sst-mfld-platform.o
 obj-$(CONFIG_SND_MFLD_MACHINE) += snd-soc-mfld-machine.o
 
-obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o
-obj-$(CONFIG_SND_SOC_INTEL_SST_ACPI) += snd-soc-sst-acpi.o
-
 # Platform Support
 snd-soc-sst-haswell-pcm-objs := \
        sst-haswell-ipc.o sst-haswell-pcm.o sst-haswell-dsp.o
diff --git a/sound/soc/intel/common/Makefile b/sound/soc/intel/common/Makefile
new file mode 100644 (file)
index 0000000..3df0e1c
--- /dev/null
@@ -0,0 +1,6 @@
+snd-soc-sst-dsp-objs := sst-dsp.o sst-firmware.o
+snd-soc-sst-acpi-objs := sst-acpi.o
+
+obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o
+obj-$(CONFIG_SND_SOC_INTEL_SST_ACPI) += snd-soc-sst-acpi.o
+
index 1a7eeec444b14bc55ab8fcc434a23f39cdd91913..26b1e31c5003451ef7cd49ab0b7074acf564c556 100644 (file)
@@ -32,7 +32,7 @@
 #include <asm/platform_sst_audio.h>
 #include "../sst-mfld-platform.h"
 #include "sst.h"
-#include "../sst-dsp.h"
+#include "../common/sst-dsp.h"
 
 MODULE_AUTHOR("Vinod Koul <vinod.koul@intel.com>");
 MODULE_AUTHOR("Harsha Priya <priya.harsha@intel.com>");
index b782dfdcdbba10202150257e3aa695e55ec63e24..2a19cbcac811c839c3b25f2b300ba454420a7feb 100644 (file)
@@ -39,7 +39,7 @@
 #include <acpi/actypes.h>
 #include <acpi/acpi_bus.h>
 #include "../sst-mfld-platform.h"
-#include "../sst-dsp.h"
+#include "../common/sst-dsp.h"
 #include "sst.h"
 
 struct sst_machines {
index f0e4b99b3aeb13a61c1f5a5b5ad67de8c575d737..36d68b8dfd288c4aff983a81b2ae8e5b8cb5721e 100644 (file)
@@ -32,7 +32,7 @@
 #include <asm/platform_sst_audio.h>
 #include "../sst-mfld-platform.h"
 #include "sst.h"
-#include "../sst-dsp.h"
+#include "../common/sst-dsp.h"
 
 
 
index 484e60978477bda7564077a2ebbe238f7558aff3..3943ae856c31959b9814b6df98e87a1b94f31f96 100644 (file)
@@ -32,7 +32,7 @@
 #include <asm/platform_sst_audio.h>
 #include "../sst-mfld-platform.h"
 #include "sst.h"
-#include "../sst-dsp.h"
+#include "../common/sst-dsp.h"
 
 struct sst_block *sst_create_block(struct intel_sst_drv *ctx,
                                        u32 msg_id, u32 drv_id)
index e88907ae8b154fb955037037e5c75aa62f67c8da..6622e66e17962eec0dfffeeb8aae7dd06e7d420c 100644 (file)
@@ -37,7 +37,7 @@
 #include <asm/platform_sst_audio.h>
 #include "../sst-mfld-platform.h"
 #include "sst.h"
-#include "../sst-dsp.h"
+#include "../common/sst-dsp.h"
 
 void memcpy32_toio(void __iomem *dst, const void *src, int count)
 {
index 4b7720864492adaec78da2460377c96d1a6df6ab..2bb0e9e0677d82f46a95484b21cb2b9fcd519fd5 100644 (file)
@@ -34,7 +34,7 @@
 #include <asm/platform_sst_audio.h>
 #include "../sst-mfld-platform.h"
 #include "sst.h"
-#include "../sst-dsp.h"
+#include "../common/sst-dsp.h"
 
 int sst_shim_write(void __iomem *addr, int offset, int value)
 {
index dae2a41997aaa3f55ac29dede7efd41d2b45c0f1..7638fca02de0786b2cdedda8a945714a62d67572 100644 (file)
@@ -31,7 +31,7 @@
 #include <asm/platform_sst_audio.h>
 #include "../sst-mfld-platform.h"
 #include "sst.h"
-#include "../sst-dsp.h"
+#include "../common/sst-dsp.h"
 
 int sst_alloc_stream_mrfld(struct intel_sst_drv *sst_drv_ctx, void *params)
 {