[PATCH] ARM: davinci: remove unused davinci-i2s pdata

Arnd Bergmann arnd at arndb.de
Fri Jul 8 03:06:06 PDT 2016


On Friday, June 10, 2016 6:18:27 PM CEST Sekhar Nori wrote:
> On Monday 09 May 2016 07:29 PM, Petr Kulhavy wrote:
> > The davinci-i2s driver ("davinci-mcbsp") does not use platform
> > data any longer. Remove the dummy pdata provided by the board
> > drivers dm355, dm365, dm644x and neuros-osd2.
> > 
> > Signed-off-by: Petr Kulhavy <petr at barix.com>
> > Reviewed-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
> 
> Applied to v4.8/cleanup

This caused a randconfig failure:

arch/arm/mach-davinci/board-dm365-evm.c: In function 'dm365_evm_init':
arch/arm/mach-davinci/board-dm365-evm.c:764:17: error: 'dm365_evm_snd_data' undeclared (first use in this function)
  dm365_init_vc(&dm365_evm_snd_data);
                 ^~~~~~~~~~~~~~~~~~
arch/arm/mach-davinci/board-dm365-evm.c:764:17: note: each undeclared identifier is reported only once for each function it appears in

clearly, the dm365_evm_snd_data is still passed as platform_data
into the voicecodec. However, I cannot see where it gets used,
my interpretation of the git log is that it never was, so we should
remove that too.

	Arnd



More information about the linux-arm-kernel mailing list