diff options
author | kernel test robot <lkp@intel.com> | 2020-06-11 04:50:35 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-06-11 12:30:47 +0200 |
commit | e6197c8290f72ebadc24e05d876f42211318cd91 (patch) | |
tree | be37006b9604b830d65518f79143df90fbde8c2b /drivers/i2c/busses/i2c-npcm7xx.c | |
parent | MAINTAINERS: npcm7xx: Add maintainer for Nuvoton NPCM BMC (diff) | |
download | linux-e6197c8290f72ebadc24e05d876f42211318cd91.tar.xz linux-e6197c8290f72ebadc24e05d876f42211318cd91.zip |
i2c: npcm7xx: npcm_i2caddr[] can be static
Fixes: f54736925a4f ("i2c: npcm7xx: Add support for slave mode for Nuvoton")
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-npcm7xx.c')
-rw-r--r-- | drivers/i2c/busses/i2c-npcm7xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-npcm7xx.c b/drivers/i2c/busses/i2c-npcm7xx.c index 3528d30ea650..75f07138a6fa 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] = { +static const int npcm_i2caddr[I2C_NUM_OWN_ADDR] = { NPCM_I2CADDR1, NPCM_I2CADDR2, NPCM_I2CADDR3, NPCM_I2CADDR4, NPCM_I2CADDR5, NPCM_I2CADDR6, NPCM_I2CADDR7, NPCM_I2CADDR8, NPCM_I2CADDR9, NPCM_I2CADDR10, |