[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1415038079-6490-1-git-send-email-sudipm.mukherjee@gmail.com>
Date: Mon, 3 Nov 2014 23:37:59 +0530
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.de>
Cc: Sudip Mukherjee <sudipm.mukherjee@...il.com>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
Jim Davis <jim.epost@...il.com>
Subject: [PATCH] ASoC: tlv320aic23: depends on SPI
Fix build errors when CONFIG_SPI is not enabled by making the
driver depend on SPI.
ERROR: "spi_setup" [sound/soc/codecs/snd-soc-tlv320aic23-spi.ko] undefined!
ERROR: "devm_regmap_init_spi" [sound/soc/codecs/snd-soc-tlv320aic23-spi.ko] undefined!
ERROR: "spi_register_driver" [sound/soc/codecs/snd-soc-tlv320aic23-spi.ko] undefined!
Reported-by: Jim Davis <jim.epost@...il.com>
Signed-off-by: Sudip Mukherjee <sudip@...torindia.org>
---
reference of mail by Jim Davis at https://lkml.org/lkml/2014/11/3/551
sound/soc/codecs/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 6801b38..9a8ea56 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -603,6 +603,7 @@ config SND_SOC_TLV320AIC23_I2C
config SND_SOC_TLV320AIC23_SPI
tristate "Texas Instruments TLV320AIC23 audio CODEC - SPI"
+ depends on SPI
select SND_SOC_TLV320AIC23
config SND_SOC_TLV320AIC26
--
1.8.1.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists