ASoC: SOF: core: modify the signature for snd_sof_create_page_table
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Wed, 4 Dec 2019 21:15:48 +0000 (15:15 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 9 Dec 2019 18:38:01 +0000 (18:38 +0000)
commit3e62579436c6a7fc35de7318e6c5f495b8d0046c
tree9c42a24e6cb7b1615920cb180441db6ae5e1d4f1
parent78fd4ffd75eed354c1c8b567dd0b384053c933da
ASoC: SOF: core: modify the signature for snd_sof_create_page_table

Modify the signature for snd_sof_create_page_table to
take struct device pointer as an argument instead of
struct snd_sof_dev as this will be used by both the SOF
core device and its clients. Also, move the definition
out of core.c to utils.c.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191204211556.12671-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/core.c
sound/soc/sof/pcm.c
sound/soc/sof/sof-priv.h
sound/soc/sof/trace.c
sound/soc/sof/utils.c