]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/llc/llc_output.c
[PATCH] mark struct file_operations const 8
[mv-sheeva.git] / net / llc / llc_output.c
index b4d55b6abb679f33c39fa54c0d3f370a3909c448..f4291f349e92c458f8181e9ac085904a9605dfd2 100644 (file)
@@ -30,7 +30,8 @@
  *     Fills MAC header fields, depending on MAC type. Returns 0, If MAC type
  *     is a valid type and initialization completes correctly 1, otherwise.
  */
-int llc_mac_hdr_init(struct sk_buff *skb, unsigned char *sa, unsigned char *da)
+int llc_mac_hdr_init(struct sk_buff *skb,
+                    const unsigned char *sa, const unsigned char *da)
 {
        int rc = 0;
 
@@ -39,7 +40,7 @@ int llc_mac_hdr_init(struct sk_buff *skb, unsigned char *sa, unsigned char *da)
        case ARPHRD_IEEE802_TR: {
                struct net_device *dev = skb->dev;
                struct trh_hdr *trh;
-               
+
                skb->mac.raw = skb_push(skb, sizeof(*trh));
                trh = tr_hdr(skb);
                trh->ac = AC;