diff options
author | Carolyn Wyborny <carolyn.wyborny@intel.com> | 2013-02-14 03:28:19 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-02-15 01:21:09 -0800 |
commit | 2c7d7724bc5b12a8bc038880d2dfe8ea496c618d (patch) | |
tree | 421890398f6e062cbcf9331f9aa4e65074a743eb | |
parent | 199f6ccac11e93761ee24e35c621992c078fe76f (diff) | |
download | linux-stable-2c7d7724bc5b12a8bc038880d2dfe8ea496c618d.tar.gz linux-stable-2c7d7724bc5b12a8bc038880d2dfe8ea496c618d.tar.bz2 linux-stable-2c7d7724bc5b12a8bc038880d2dfe8ea496c618d.zip |
igb: Refix sparse warning in igb_get_i2c_client
This patch correctly resolves the sparse warnings found with this
function.
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | drivers/net/ethernet/intel/igb/igb_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c index c19a35c556f9..bf559721248c 100644 --- a/drivers/net/ethernet/intel/igb/igb_main.c +++ b/drivers/net/ethernet/intel/igb/igb_main.c @@ -7727,7 +7727,7 @@ static DEFINE_SPINLOCK(i2c_clients_lock); * @adapter: adapter struct * @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) { ulong flags; |