diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-06-16 00:43:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-16 00:43:48 -0400 |
commit | 9f70b0fcecd134890affe627aa2823591313a413 (patch) | |
tree | c702044dcd2e0f698ee7ccc2ef905f092f9a6c75 | |
parent | 5933dd2f028cdcbb4b3169dca594324704ba10ae (diff) |
bridge: Add const to dummy br_netpoll_send_skb
The version of br_netpoll_send_skb used when netpoll is off is
missing a const thus causing a warning.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
-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 f6bc979b1135..07cf57b373fe 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -305,7 +305,7 @@ static inline struct netpoll_info *br_netpoll_info(struct net_bridge *br) | |||
305 | return NULL; | 305 | return NULL; |
306 | } | 306 | } |
307 | 307 | ||
308 | static inline void br_netpoll_send_skb(struct net_bridge_port *p, | 308 | static inline void br_netpoll_send_skb(const struct net_bridge_port *p, |
309 | struct sk_buff *skb) | 309 | struct sk_buff *skb) |
310 | { | 310 | { |
311 | } | 311 | } |