[alsa-devel] [PATCH] drm: sti: fix prototypes after API change

Stephen Rothwell sfr at canb.auug.org.au
Tue Jul 5 01:38:10 CEST 2016


Hi Arnd,

On Mon,  4 Jul 2016 15:16:51 +0200 Arnd Bergmann <arnd at arndb.de> wrote:
>
> Like the mediatek hdmi driver, the sti driver now suffers from
> an API change in linux-next:
> 
> drivers/gpu/drm/sti/sti_hdmi.c:1250:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
>   .hw_params = hdmi_audio_hw_params,
>                ^~~~~~~~~~~~~~~~~~~~
> drivers/gpu/drm/sti/sti_hdmi.c:1250:15: note: (near initialization for 'audio_codec_ops.hw_params')
> 
> This follows the API change, adding the extra function arguments.
> I suppose we want this to be part of the ASoC merge in linux-next
> for now too.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Fixes: 2c348e505328 ("drm: sti: Add ASoC generic hdmi codec support.")
> Fixes: efc9194bcff8 ("ASoC: hdmi-codec: callback function will be called with private data")
> Link: https://lkml.org/lkml/2016/6/29/441

Added to the sound-asoc merge from today.

-- 
Cheers,
Stephen Rothwell


More information about the Alsa-devel mailing list