diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2017-01-12 16:14:41 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-01-12 20:21:50 +0300 |
commit | 0230f088adcf537a60df9d80dce5b71059946dfe (patch) | |
tree | b34a6a7e9beaaf9249cf3b84f916898dfa4b971d /sound/soc/codecs/rt5659.c | |
parent | 11b4ad9631d99df8a8f5ab175eab78d5850e92fe (diff) | |
download | linux-0230f088adcf537a60df9d80dce5b71059946dfe.tar.xz |
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/codecs/rt5659.c')
-rw-r--r-- | sound/soc/codecs/rt5659.c | 2 |
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, |