aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-10-05 06:01:03 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-07 01:10:47 -0700
commit32953543221cfe2bf0a24205fab225e5b8ed81a0 (patch)
tree48343bcd03f897a97fde1dd597205e8323d1323a /drivers/net/ixgbe/ixgbe.h
parentnet: mark net_proto_ops as const (diff)
downloadlinux-dev-32953543221cfe2bf0a24205fab225e5b8ed81a0.tar.xz
linux-dev-32953543221cfe2bf0a24205fab225e5b8ed81a0.zip
dcb: data center bridging ops should be r/o
The data center bridging ops structure can be const Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
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 385be6016667..28f32da794dd 100644
--- a/drivers/net/ixgbe/ixgbe.h
+++ b/drivers/net/ixgbe/ixgbe.h
@@ -397,7 +397,7 @@ enum ixgbe_boards {
extern struct ixgbe_info ixgbe_82598_info;
extern struct ixgbe_info ixgbe_82599_info;
#ifdef CONFIG_IXGBE_DCB
-extern struct dcbnl_rtnl_ops dcbnl_ops;
+extern const struct dcbnl_rtnl_ops dcbnl_ops;
extern int ixgbe_copy_dcb_cfg(struct ixgbe_dcb_config *src_dcb_cfg,
struct ixgbe_dcb_config *dst_dcb_cfg,
int tc_max);