summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-03-20 10:06:29 +0100
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-03-26 11:14:48 +0100
commit05ec29e8fa9b6ec8d4ad5d2f6d5fc5467c7970bc (patch)
treeaef11a34dc82336bdd76ede8359f7f597f1c5efd /drivers/net
parentigb: SR-IOV init reordering (diff)
downloadlinux-05ec29e8fa9b6ec8d4ad5d2f6d5fc5467c7970bc.tar.xz
linux-05ec29e8fa9b6ec8d4ad5d2f6d5fc5467c7970bc.zip
igb: make sensor info static
Trivial sparse warning. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/intel/igb/igb_hwmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb_hwmon.c b/drivers/net/ethernet/intel/igb/igb_hwmon.c
index 4623502054d5..0478a1abe541 100644
--- a/drivers/net/ethernet/intel/igb/igb_hwmon.c
+++ b/drivers/net/ethernet/intel/igb/igb_hwmon.c
@@ -39,7 +39,7 @@
#include <linux/pci.h>
#ifdef CONFIG_IGB_HWMON
-struct i2c_board_info i350_sensor_info = {
+static struct i2c_board_info i350_sensor_info = {
I2C_BOARD_INFO("i350bb", (0Xf8 >> 1)),
};