soundwire updates for 4.21-rc1

A single change:
  - constify snd_soc_dai_ops struct by Julia
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABAgAGBQJcCVhOAAoJEHwUBw8lI4NHiiQP/j21SxNEOWLC1TMxPg59XntG
 snd7gpRdKAstQ5z838NSVGImoknKs5XfeAF+L99nkKNtgv0vncycSLkxxCXwI8YG
 o09bEp19K5NyOhjnhJUiUi3tAFFDVp6VFaA/RMMwVCDyn15IiGb36bPfR3i0aHl9
 r4KxBCND9LFF8iSXtXF0/QIfCmh2YQVy3mOrGZfIdeEjDPDEo6NcftV5kp6fskko
 8haOI18jB6PhbcIHyF8P5qO9RScuP4YZYfZB7hgnt3dAgslwL9alqOoKFfRyc0nW
 Riagr1S+BcPmJHIhtvDIKtQbjU33IHCcab6XNn8cq2+qm/yARJv6VI19Y2UDUXtr
 kvy1RLAoayza/JgF2KeLrIqfW1gtnmI2JtZP6cRfzVNxjisfQ+L2LC2zH23U/+38
 pFQoqGJy3nxnBX+Q5DDGszin4WnzlrWnLM8pKhbZMAlRWJBbwRRxeVLiH+ciugqh
 VKCJZFbIx0g+dLMgqURWP6jrQZPiVkTUDkwfQlEOjoRFsKLNkYKMmMB9CO6DkhfB
 pYK33UXCwXRUZRjWug9UP+uLz0I0hVFVk1kxmB/kNZeCUI5SgDkWN6ymPT0sQR4b
 9H5qeba0u4WPasPxF4cJSOVb6dfnjSGPSyedo1uelWGxNnJxixAvm4XPhApsmI++
 rHoaXeNO70/XGHCunhRv
 =ITax
 -----END PGP SIGNATURE-----

Merge tag 'soundwire-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire into char-misc-next

Vinod writes:

soundwire updates for 4.21-rc1

A single change:
 - constify snd_soc_dai_ops struct by Julia

* tag 'soundwire-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire:
  soundwire: intel: constify snd_soc_dai_ops structures
This commit is contained in:
Greg Kroah-Hartman 2018-12-07 08:10:22 +01:00
commit 48d365de77

View file

@ -654,14 +654,14 @@ static int intel_pdm_set_sdw_stream(struct snd_soc_dai *dai,
return cdns_set_sdw_stream(dai, stream, false, direction);
}
static struct snd_soc_dai_ops intel_pcm_dai_ops = {
static const struct snd_soc_dai_ops intel_pcm_dai_ops = {
.hw_params = intel_hw_params,
.hw_free = intel_hw_free,
.shutdown = sdw_cdns_shutdown,
.set_sdw_stream = intel_pcm_set_sdw_stream,
};
static struct snd_soc_dai_ops intel_pdm_dai_ops = {
static const struct snd_soc_dai_ops intel_pdm_dai_ops = {
.hw_params = intel_hw_params,
.hw_free = intel_hw_free,
.shutdown = sdw_cdns_shutdown,