summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2017-01-12 14:14:41 +0100
committerMark Brown <broonie@kernel.org>2017-01-12 17:21:50 +0000
commit0230f088adcf537a60df9d80dce5b71059946dfe (patch)
treeb34a6a7e9beaaf9249cf3b84f916898dfa4b971d /sound/soc
parent11b4ad9631d99df8a8f5ab175eab78d5850e92fe (diff)
downloadtalos-obmc-linux-0230f088adcf537a60df9d80dce5b71059946dfe.tar.gz
talos-obmc-linux-0230f088adcf537a60df9d80dce5b71059946dfe.zip
ASoC: rt5659: declare rt5659_i2c_driver static
Declar rt5659_i2c_driver, which is only being passed to module_i2c_driver(rt5659_i2c_driver), static. Fixes: commit d3cb2de2479b ("ASoC: rt5659: add rt5659 codec driver") Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/rt5659.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5659.c b/sound/soc/codecs/rt5659.c
index a57f67bd4a0c..3421d09d17bc 100644
--- a/sound/soc/codecs/rt5659.c
+++ b/sound/soc/codecs/rt5659.c
@@ -4230,7 +4230,7 @@ static struct acpi_device_id rt5659_acpi_match[] = {
MODULE_DEVICE_TABLE(acpi, rt5659_acpi_match);
#endif
-struct i2c_driver rt5659_i2c_driver = {
+static struct i2c_driver rt5659_i2c_driver = {
.driver = {
.name = "rt5659",
.owner = THIS_MODULE,
OpenPOWER on IntegriCloud