]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: rt5514: Mark rt5514_i2c_driver as static
authorDouglas Anderson <dianders@chromium.org>
Fri, 14 Apr 2017 16:40:30 +0000 (09:40 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 14 Apr 2017 17:11:37 +0000 (18:11 +0100)
There's no reason for rt5514_i2c_driver to be non-static.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5514.c

index b281a46d769dc25165a7bb6073ec72d4a302fafd..481e77763fe4c04c699c1ef2fe41285b4a332a4a 100644 (file)
@@ -1149,7 +1149,7 @@ static int rt5514_i2c_remove(struct i2c_client *i2c)
        return 0;
 }
 
-struct i2c_driver rt5514_i2c_driver = {
+static struct i2c_driver rt5514_i2c_driver = {
        .driver = {
                .name = "rt5514",
                .of_match_table = of_match_ptr(rt5514_of_match),