Signed-off-by: kernel test robot <l...@intel.com>
---
 adm1266.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/hwmon/pmbus/adm1266.c b/drivers/hwmon/pmbus/adm1266.c
index 381d89a8569f2..1aa3f0a738151 100644
--- a/drivers/hwmon/pmbus/adm1266.c
+++ b/drivers/hwmon/pmbus/adm1266.c
@@ -24,8 +24,8 @@ DECLARE_CRC8_TABLE(pmbus_crc_table);
  * followed by a Read Block without the Read-Block command field and the
  * Write-Block STOP bit.
  */
-int pmbus_block_xfer(struct i2c_client *client, u8 cmd, u8 w_len,
-                    u8 *data_w, u8 *data_r)
+static int pmbus_block_xfer(struct i2c_client *client, u8 cmd, u8 w_len,
+                           u8 *data_w, u8 *data_r)
 {
        u8 write_buf[ADM1266_PMBUS_BLOCK_MAX + 2];
        struct i2c_msg msgs[2] = {

Reply via email to