Commit 2c7d7724 authored by Carolyn Wyborny's avatar Carolyn Wyborny Committed by Jeff Kirsher

igb: Refix sparse warning in igb_get_i2c_client

This patch correctly resolves the sparse warnings found with this
function.
Signed-off-by: default avatarCarolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 199f6cca
...@@ -7727,7 +7727,7 @@ static DEFINE_SPINLOCK(i2c_clients_lock); ...@@ -7727,7 +7727,7 @@ static DEFINE_SPINLOCK(i2c_clients_lock);
* @adapter: adapter struct * @adapter: adapter struct
* @dev_addr: device address of i2c needed. * @dev_addr: device address of i2c needed.
*/ */
struct i2c_client * static struct i2c_client *
igb_get_i2c_client(struct igb_adapter *adapter, u8 dev_addr) igb_get_i2c_client(struct igb_adapter *adapter, u8 dev_addr)
{ {
ulong flags; ulong flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment