ASoC: cs35l56: Omit cs35l56_pm_ops_i2c_spi if I2C/SPI not enabled
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 14 Sep 2023 15:09:18 +0000 (16:09 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 14 Sep 2023 15:12:49 +0000 (16:12 +0100)
commit01e76ee227564008d71ddce6e43132b36d2d2252
tree9a2d9efeeba4e2aad103a215b2bfe84a41cfcd62
parent6399eb58254b98bbe42c9d14e07c50e1c3d9f8cd
ASoC: cs35l56: Omit cs35l56_pm_ops_i2c_spi if I2C/SPI not enabled

The cs35l56_pm_ops_i2c_spi struct is only needed if either the
I2C or SPI modules are selected for building. Otherwise it would
be unused bytes, so in that case omit it.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230914150918.14505-4-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56.c