diff mbox

igb: make sensor info static

Message ID 20130316095606.1c8465f5@nehalam.linuxnetplumber.net
State Awaiting Upstream, archived
Delegated to: David Miller
Headers show

Commit Message

Stephen Hemminger March 16, 2013, 4:56 p.m. UTC
Trivial sparse warning.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Kirsher, Jeffrey T March 20, 2013, 12:48 a.m. UTC | #1
On Sat, 2013-03-16 at 09:56 -0700, Stephen Hemminger wrote:
> Trivial sparse warning.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> 

Thanks Stephen, it has been added to my queue
diff mbox

Patch

--- a/drivers/net/ethernet/intel/igb/igb_hwmon.c	2013-03-14 14:22:58.135958283 -0700
+++ b/drivers/net/ethernet/intel/igb/igb_hwmon.c	2013-03-16 09:44:46.455461525 -0700
@@ -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)),
 };