OSDN Git Service

ASoC: twl6040: make pointer dmic_codec_dev static
authorColin Ian King <colin.king@canonical.com>
Wed, 6 Jun 2018 09:35:04 +0000 (10:35 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 18 Jun 2018 11:54:38 +0000 (12:54 +0100)
commit510e419cb85798915c6426c496a164ec6328d1a7
tree6c7bee06d2932fc2c9461444115b0218402afed1
parentd5c4e972d512ae0b59108ca92b9b35bc5cf5c14e
ASoC: twl6040: make pointer dmic_codec_dev static

The pointer dmic_codec_dev is local to the source and does not need
to be in global scope, so make it static.

Cleans up sparse warning:
warning: symbol 'dmic_codec_dev' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/omap/omap-abe-twl6040.c