bridge: Add const to dummy br_netpoll_send_skb
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 16 Jun 2010 04:43:48 +0000 (21:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2010 04:43:48 +0000 (21:43 -0700)
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>
net/bridge/br_private.h

index f6bc979b1135514e5c46e21422454bae839e876d..07cf57b373fec863754bb27b8f62b20eb928be3d 100644 (file)
@@ -305,7 +305,7 @@ static inline struct netpoll_info *br_netpoll_info(struct net_bridge *br)
        return NULL;
 }
 
-static inline void br_netpoll_send_skb(struct net_bridge_port *p,
+static inline void br_netpoll_send_skb(const struct net_bridge_port *p,
                                       struct sk_buff *skb)
 {
 }