summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-03-20 09:06:29 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-03-26 03:14:48 -0700
commit05ec29e8fa9b6ec8d4ad5d2f6d5fc5467c7970bc (patch)
treeaef11a34dc82336bdd76ede8359f7f597f1c5efd
parentd5e51a10d21761faaf069cac6f1c0311cf332820 (diff)
downloadlinux-stable-05ec29e8fa9b6ec8d4ad5d2f6d5fc5467c7970bc.tar.gz
linux-stable-05ec29e8fa9b6ec8d4ad5d2f6d5fc5467c7970bc.tar.bz2
linux-stable-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>
-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)),
};