Skip to contentSkip to conversation

ASoC: core: Split ops out of soc-core.c

PATCH New Mark Brown 1 participant 1 message Oct 28, 2014

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 ASoC: core: Split ops out of soc-core.c

The main ASoC source file is getting quite large and the standard ops don't really have anything to do with the rest of the file so split them out into a separate file.

---
 sound/soc/Makefile   |    2 +-
 sound/soc/soc-core.c | 1006 ------------------------------------------------
 sound/soc/soc-ops.c  | 1039 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1040 insertions(+), 1007 deletions(-)
 create mode 100644 sound/soc/soc-ops.c
sound/soc/Makefile +1 -1
index d88edfced8c4..2a043804a2bc 100644
@@ -1,5 +1,5 @@
 snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-cache.o soc-utils.o
-snd-soc-core-objs += soc-pcm.o soc-compress.o soc-io.o soc-devres.o
+snd-soc-core-objs += soc-pcm.o soc-compress.o soc-io.o soc-devres.o soc-ops.o
 
 ifneq ($(CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM),)
 snd-soc-core-objs += soc-generic-dmaengine-pcm.o
sound/soc/soc-core.c +0 -1006

1,012 lines not on this page · raw message

sound/soc/soc-ops.c new file +1039 -0

1,039 lines not on this page · raw message

Signature · 1 line
2.1.1