lantiq: fix etop compiler warnings
authorMathias Kresin <dev@kresin.me>
Thu, 4 Jul 2019 20:43:00 +0000 (22:43 +0200)
committerMathias Kresin <dev@kresin.me>
Sun, 7 Jul 2019 09:17:34 +0000 (11:17 +0200)
commit92b768d5f436a0eab809082f294e54e0185c5961
tree606f42202ecad2d5abed8e9b3749633ac467805e
parenta4bdae7cf2e850e6fe73c8bb3239570903c886ef
lantiq: fix etop compiler warnings

The following warnings are introduced by our own patches:

 lantiq_etop.c:173:1: warning: no semicolon at end of struct or union
 };
 ^
 lantiq_etop.c: In function 'ltq_etop_change_mtu':
 lantiq_etop.c:725:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  int max = ETH_HLEN + VLAN_HLEN + new_mtu + ETH_FCS_LEN;
  ^~~

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/lantiq/patches-4.19/0028-NET-lantiq-various-etop-fixes.patch
target/linux/lantiq/patches-4.19/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch