ASoC: topology: Add Kconfig option for topology
authorMark Brown <broonie@kernel.org>
Sat, 15 Aug 2015 15:24:20 +0000 (08:24 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 18 Aug 2015 05:45:47 +0000 (22:45 -0700)
commit78b50f39142612d01073595d33e7cc48f03a5a2f
tree1f1d528104103efc050c367a052edf9d16b542bf
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
ASoC: topology: Add Kconfig option for topology

Allow the topology code to be compiled out so that users who don't need
topology don't need to havve the code compiled in, saving them some
memory.

Some more configuration could be added to remove some of the hooks into
the core data structures but that is probably best done with some
refactoring to use functions to do the updates of the data structures
rather than ifdefing in the code as we'd need to do at the minute.

Suggested-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-topology.h
sound/soc/Kconfig
sound/soc/Makefile