ASoC: rt5659: declare rt5659_i2c_driver static
authorNicholas Mc Guire <hofrat@osadl.org>
Thu, 12 Jan 2017 13:14:41 +0000 (14:14 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 12 Jan 2017 17:21:50 +0000 (17:21 +0000)
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>
sound/soc/codecs/rt5659.c

index a57f67b..3421d09 100644 (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,