From: Herbert Xu Date: Wed, 16 Jun 2010 04:43:48 +0000 (-0700) Subject: bridge: Add const to dummy br_netpoll_send_skb X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9f70b0fcecd134890affe627aa2823591313a413;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: David S. Miller --- 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) 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) { }