aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-10-05 02:01:03 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-07 04:10:47 -0400
commit32953543221cfe2bf0a24205fab225e5b8ed81a0 (patch)
tree48343bcd03f897a97fde1dd597205e8323d1323a /include
parentec1b4cf74c81bfd0fbe5bf62bafc86c45917e72f (diff)
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 'include')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 94958c109761..b332eefebb1b 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -909,7 +909,7 @@ struct net_device
909 909
910#ifdef CONFIG_DCB 910#ifdef CONFIG_DCB
911 /* Data Center Bridging netlink ops */ 911 /* Data Center Bridging netlink ops */
912 struct dcbnl_rtnl_ops *dcbnl_ops; 912 const struct dcbnl_rtnl_ops *dcbnl_ops;
913#endif 913#endif
914 914
915#if defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE) 915#if defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE)