igb: make sensor info static

Submitted by stephen hemminger on March 16, 2013, 4:56 p.m.

Details

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

Commit Message

stephen hemminger March 16, 2013, 4:56 p.m.
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

Jeff Kirsher March 20, 2013, 12:48 a.m.
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

Patch hide | download patch | download mbox

--- 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)),
 };