[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1381228833-24082-1-git-send-email-csmanjuvijay@gmail.com>
Date: Tue, 8 Oct 2013 16:10:33 +0530
From: Majunath Goudar <csmanjuvijay@...il.com>
To: linux-arm-kernel@...ts.infradead.org
Cc: nataraja.km@....com, Majunath Goudar <csmanjuvijay@...il.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] SOUND/SPI: Fix "clk_round_rate" undefined reference error.
This patch adds a COMMON_CLK dependency to configure the
SND_AT73C213 for Atmel AT73C213 DAC driver. Without this patch,
build system can lead to build failure. This was observed during
randconfig testing, in which SND_AT73C213 was enabled w/o COMMON_CLK
being enabled. leading to the following error:
sound/built-in.o: In function `snd_at73c213_probe':
:(.text+0x328c4): undefined reference to `clk_round_rate'
make: *** [vmlinux] Error 1
Signed-off-by: Manjunath Goudar <csmanjuvijay@...il.com>
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: linux-input@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
---
sound/spi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/spi/Kconfig b/sound/spi/Kconfig
index e6485be..798d1ee 100644
--- a/sound/spi/Kconfig
+++ b/sound/spi/Kconfig
@@ -11,7 +11,7 @@ if SND_SPI
config SND_AT73C213
tristate "Atmel AT73C213 DAC driver"
- depends on ATMEL_SSC
+ depends on ATMEL_SSC && COMMON_CLK
select SND_PCM
help
Say Y here if you want to use the Atmel AT73C213 external DAC. This
--
1.7.9.5
--
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