diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-10-05 06:01:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-07 01:10:47 -0700 |
commit | 32953543221cfe2bf0a24205fab225e5b8ed81a0 (patch) | |
tree | 48343bcd03f897a97fde1dd597205e8323d1323a /include/linux/netdevice.h | |
parent | ec1b4cf74c81bfd0fbe5bf62bafc86c45917e72f (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/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 94958c10976..b332eefebb1 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -909,7 +909,7 @@ struct net_device #ifdef CONFIG_DCB /* Data Center Bridging netlink ops */ - struct dcbnl_rtnl_ops *dcbnl_ops; + const struct dcbnl_rtnl_ops *dcbnl_ops; #endif #if defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE) |