Re: [PATCH] drm: sti: fix prototypes after API change
From: Stephen Rothwell
Date: Mon Jul 04 2016 - 19:38:17 EST
Hi Arnd,
On Mon, 4 Jul 2016 15:16:51 +0200 Arnd Bergmann <arnd@xxxxxxxx> 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@xxxxxxxx>
> 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