[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200120180540.5v5mzbr72aygwb6l@f53c9c00458a>
Date: Tue, 21 Jan 2020 02:05:40 +0800
From: kbuild test robot <lkp@...el.com>
To: Rishi Gupta <gupt21@...il.com>
Cc: kbuild-all@...ts.01.org, jikos@...nel.org,
benjamin.tissoires@...hat.com, wsa+renesas@...g-engineering.com,
gregkh@...uxfoundation.org, linux-i2c@...r.kernel.org,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
Rishi Gupta <gupt21@...il.com>
Subject: [RFC PATCH] HID: mcp2221: mcp_smbus_xfer() can be static
Fixes: 38f8a303aca6 ("HID: mcp2221: add usb to i2c-smbus host bridge driver")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
hid-mcp2221.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hid/hid-mcp2221.c b/drivers/hid/hid-mcp2221.c
index 9897599a868bf..b0e7ea0d267d0 100644
--- a/drivers/hid/hid-mcp2221.c
+++ b/drivers/hid/hid-mcp2221.c
@@ -394,7 +394,7 @@ static int mcp_smbus_write(struct mcp2221 *mcp, u16 addr,
return ret;
}
-int mcp_smbus_xfer(struct i2c_adapter *adapter, u16 addr,
+static int mcp_smbus_xfer(struct i2c_adapter *adapter, u16 addr,
unsigned short flags, char read_write,
u8 command, int size,
union i2c_smbus_data *data)
Powered by blists - more mailing lists