]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/bridge/netfilter/ebtables.c
[NETFILTER]: silence a warning in ebtables
[karo-tx-linux.git] / net / bridge / netfilter / ebtables.c
index 3df55b2bd91d7a8357254c5ab05a4d740f06fbb4..9f85666f29f75dd322c6672f7e72b8433fbc52d2 100644 (file)
@@ -86,7 +86,7 @@ static inline int ebt_do_match (struct ebt_entry_match *m,
 static inline int ebt_dev_check(char *entry, const struct net_device *device)
 {
        int i = 0;
-       char *devname = device->name;
+       const char *devname = device->name;
 
        if (*entry == '\0')
                return 0;