ASoC: ak5558: make two structures static
authorColin Ian King <colin.king@canonical.com>
Wed, 6 Jun 2018 09:57:19 +0000 (10:57 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 18 Jun 2018 11:54:38 +0000 (12:54 +0100)
commite380be7c557c4ddb1cb71404c10e0bfb3daf4644
treee5f24363ef7c0ffb8dd9628bc3a39616989731cf
parent510e419cb85798915c6426c496a164ec6328d1a7
ASoC: ak5558: make two structures static

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@canonical.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak5558.c