lkml.org 
[lkml]   [2019]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 1/2] ASoC: gtm601: add Broadmobi bm818 sound profile
On Thu, Dec 19, 2019 at 01:09:43PM -0800, Angus Ainslie (Purism) wrote:

> static int gtm601_platform_probe(struct platform_device *pdev)
> {
> + struct snd_soc_dai_driver *dai_driver;
> +
> + dai_driver = of_device_get_match_data(&pdev->dev);
> +

I was going to apply this but it causes build warnings:

sound/soc/codecs/gtm601.c: In function ‘gtm601_platform_probe’:
sound/soc/codecs/gtm601.c:83:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
dai_driver = of_device_get_match_data(&pdev->dev);
^
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-12-20 14:02    [W:0.043 / U:20.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site