From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6091588686568042758==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] iio: dac: ltc2688_regmap_bus can be static Date: Mon, 24 Jan 2022 17:57:28 +0800 Message-ID: <20220124095728.GA8872@d515a707d187> In-Reply-To: <20220121142501.151-2-nuno.sa@analog.com> List-Id: --===============6091588686568042758== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/iio/dac/ltc2688.c:942:19: warning: symbol 'ltc2688_regmap_bus' was = not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- ltc2688.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/dac/ltc2688.c b/drivers/iio/dac/ltc2688.c index 179a653ce972a..decd6d3742d96 100644 --- a/drivers/iio/dac/ltc2688.c +++ b/drivers/iio/dac/ltc2688.c @@ -939,7 +939,7 @@ static bool ltc2688_reg_writable(struct device *dev, un= signed int reg) return false; } = -struct regmap_bus ltc2688_regmap_bus =3D { +static struct regmap_bus ltc2688_regmap_bus =3D { .read =3D ltc2688_spi_read, .write =3D ltc2688_spi_write, .read_flag_mask =3D LTC2688_READ_OPERATION, --===============6091588686568042758==--