From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0106805207862964389==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH wsa] i2c: npcm7xx: npcm_i2caddr[] can be static Date: Thu, 11 Jun 2020 10:50:35 +0800 Message-ID: <20200611025035.GA36505@bce68231a323> In-Reply-To: <202006111013.sWdCKUu7%lkp@intel.com> List-Id: --===============0106805207862964389== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Fixes: f54736925a4f ("i2c: npcm7xx: Add support for slave mode for Nuvoton") Signed-off-by: kernel test robot --- i2c-npcm7xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-npcm7xx.c b/drivers/i2c/busses/i2c-npcm= 7xx.c index a8e75c3484f12..d027c0a3a887f 100644 --- a/drivers/i2c/busses/i2c-npcm7xx.c +++ b/drivers/i2c/busses/i2c-npcm7xx.c @@ -124,7 +124,7 @@ enum i2c_addr { * use this array to get the address or each register. */ #define I2C_NUM_OWN_ADDR 10 -const int npcm_i2caddr[I2C_NUM_OWN_ADDR] =3D { +static const int npcm_i2caddr[I2C_NUM_OWN_ADDR] =3D { NPCM_I2CADDR1, NPCM_I2CADDR2, NPCM_I2CADDR3, NPCM_I2CADDR4, NPCM_I2CADDR5, NPCM_I2CADDR6, NPCM_I2CADDR7, NPCM_I2CADDR8, NPCM_I2CADDR9, NPCM_I2CADDR10, --===============0106805207862964389==--