From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Thu, 14 Jul 2016 14:44:57 +0200 Subject: [PATCH] ARM: davinci: fix build break because of undeclared dm365_evm_snd_data In-Reply-To: <20160712141613.29325-1-nsekhar@ti.com> References: <20160712141613.29325-1-nsekhar@ti.com> Message-ID: <4882122.jhUm92FjVj@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tuesday, July 12, 2016 7:46:13 PM CEST Sekhar Nori wrote: > commit 6bce5efd4424 ("ARM: davinci: remove unused davinci-i2s pdata") > removed all instances of davinci-i2s pdata. However, on DM365 EVM, > the same platform data is passed to the voicecodec present on that > device. > > This causes build breakage when voicecodec support is enabled: > > arch/arm/mach-davinci/board-dm365-evm.c:764:17: error: 'dm365_evm_snd_data' undeclared (first use in this function) > > voicecodec driver does not use the platform data as well, and > it is safe to remove it. > > Fixes: 6bce5efd4424 ("ARM: davinci: remove unused davinci-i2s pdata") > Reported-by: Arnd Bergmann > Signed-off-by: Sekhar Nori > Applied to next/soc, thanks! Arnd