diff options
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index cda83158a21c..dd583177cba4 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -208,7 +208,7 @@ static inline struct net_bridge_port *br_port_get_rcu(const struct net_device *d | |||
208 | return br_port_exists(dev) ? port : NULL; | 208 | return br_port_exists(dev) ? port : NULL; |
209 | } | 209 | } |
210 | 210 | ||
211 | static inline struct net_bridge_port *br_port_get_rtnl(struct net_device *dev) | 211 | static inline struct net_bridge_port *br_port_get_rtnl(const struct net_device *dev) |
212 | { | 212 | { |
213 | return br_port_exists(dev) ? | 213 | return br_port_exists(dev) ? |
214 | rtnl_dereference(dev->rx_handler_data) : NULL; | 214 | rtnl_dereference(dev->rx_handler_data) : NULL; |