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

Sekhar Nori nsekhar at ti.com
Fri Jul 8 04:05:14 PDT 2016


On Friday 08 July 2016 03:36 PM, Arnd Bergmann wrote:
> 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, you are right, this was missed. I will send a patch fixing it soonish.

Regards,
Sekhar



More information about the linux-arm-kernel mailing list