summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorStephen Hemminger2007-10-29 18:46:24 +0100
committerJeff Garzik2007-10-30 19:32:17 +0100
commit9c8eb7206f4ef481d12da9196a6bdfd8d5def164 (patch)
treecb26504345242f89935764ed06c8274c41b97327 /drivers/net/ixgbe/ixgbe.h
parente1000: sparse warnings fixes (diff)
downloadkernel-qcow2-linux-9c8eb7206f4ef481d12da9196a6bdfd8d5def164.tar.gz
kernel-qcow2-linux-9c8eb7206f4ef481d12da9196a6bdfd8d5def164.tar.xz
kernel-qcow2-linux-9c8eb7206f4ef481d12da9196a6bdfd8d5def164.zip
ixgbe: minor sparse fixes
Make strings const if possible, and fix includes so forward definitions are seen. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ixgbe/ixgbe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h
index c160a7d91e21..bc51432b8d26 100644
--- a/drivers/net/ixgbe/ixgbe.h
+++ b/drivers/net/ixgbe/ixgbe.h
@@ -244,7 +244,7 @@ extern struct ixgbe_info ixgbe_82598EB_info;
extern struct ixgbe_info ixgbe_82598AT_info;
extern char ixgbe_driver_name[];
-extern char ixgbe_driver_version[];
+extern const char ixgbe_driver_version[];
extern int ixgbe_up(struct ixgbe_adapter *adapter);
extern void ixgbe_down(struct ixgbe_adapter *adapter);