[NETFILTER]: silence a warning in ebtables

net/bridge/netfilter/ebtables.c: In function 'ebt_dev_check':
net/bridge/netfilter/ebtables.c:89: warning: initialization discards qualifiers from pointer target type

So make the char* a const char * and the warning is gone.

Signed-off-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Meelis Roos and committed by David S. Miller 6f5b7ef6 5b122545

+1 -1
+1 -1
net/bridge/netfilter/ebtables.c
··· 86 86 static inline int ebt_dev_check(char *entry, const struct net_device *device) 87 87 { 88 88 int i = 0; 89 - char *devname = device->name; 89 + const char *devname = device->name; 90 90 91 91 if (*entry == '\0') 92 92 return 0;