xfrm: Const'ify xfrm_tmpl arg to xfrm_init_tempstate.
David S. Miller [Thu, 24 Feb 2011 06:50:12 +0000 (01:50 -0500)]
Signed-off-by: David S. Miller <davem@davemloft.net>

net/xfrm/xfrm_state.c

index 0383d83..ac6c48a 100644 (file)
@@ -658,7 +658,7 @@ EXPORT_SYMBOL(xfrm_sad_getinfo);
 
 static int
 xfrm_init_tempstate(struct xfrm_state *x, const struct flowi *fl,
-                   struct xfrm_tmpl *tmpl,
+                   const struct xfrm_tmpl *tmpl,
                    xfrm_address_t *daddr, xfrm_address_t *saddr,
                    unsigned short family)
 {