]> git.hungrycats.org Git - linux/commitdiff
ASoC: meson: aiu: make aiu_formatter_i2s_drv static
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 12 Aug 2026 20:50:34 +0000 (22:50 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 13 Aug 2026 12:14:47 +0000 (13:14 +0100)
aiu_formatter_i2s_drv is indeed used only in the aiu and it is not meant
to be exported. It should be static.

Cc: Valerio Setti <vsetti@baylibre.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202608080634.hf6aJGPB-lkp@intel.com/
Fixes: 83b83024cdbf ("ASoC: meson: aiu: use aiu-formatter-i2s to format I2S output data")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Valerio Setti <vsetti@baylibre.com>
Link: https://patch.msgid.link/20260812-aiu-formatter-static-v1-1-67936d57ba05@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/aiu.c

index 2668646e3597eefbc84be262e022a0ff95467471..535fbf7c16394189b6b77b82a94f5681143ef4a1 100644 (file)
@@ -182,7 +182,7 @@ static const struct regmap_config aiu_regmap_cfg = {
        .max_register   = 0x2ac,
 };
 
-const struct gx_formatter_driver aiu_formatter_i2s_drv = {
+static const struct gx_formatter_driver aiu_formatter_i2s_drv = {
        .regmap_cfg     = &aiu_regmap_cfg,
        .ops            = &aiu_formatter_i2s_ops,
 };