[alsa-devel] [PATCH] ASoC: ak5558: make two structures static
Daniel Baluta
daniel.baluta at nxp.com
Wed Jun 6 12:24:01 CEST 2018
On Mi, 2018-06-06 at 10:57 +0100, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> The structure ak5558_pm and soc_codec_dev_ak5558 are local to the
> source and do not need to be in global scope, so make them static.
> Also make soc_codec_dev_ak5558 static.
>
> Cleans up sparse warnings:
> warning: symbol 'ak5558_pm' was not declared. Should it be static?
> warning: symbol 'soc_codec_dev_ak5558' was not declared. Should it be
> static?
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
Reviewed-by: Daniel Baluta <daniel.baluta at nxp.com>
More information about the Alsa-devel
mailing list