1
0
Fork 0

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 d3cb2de247 ("ASoC: rt5659: add rt5659 codec driver")
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
hifive-unleashed-5.1
Nicholas Mc Guire 2017-01-12 14:14:41 +01:00 committed by Mark Brown
parent 11b4ad9631
commit 0230f088ad
1 changed files with 1 additions and 1 deletions

View File

@ -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,