lantiq: Tune the XWAY subtarget cflags
[openwrt/staging/yousong.git] / package / system / ep80579-drivers / patches / 701-iegbe_poll_dev.patch
1 --- a/Embedded/src/GbE/iegbe_main.c
2 +++ b/Embedded/src/GbE/iegbe_main.c
3 @@ -3534,7 +3534,7 @@ static int iegbe_clean(struct napi_struc
4 int tx_cleaned = 0, work_done = 0;
5
6 /* Must NOT use netdev_priv macro here. */
7 - adapter = poll_dev->priv;
8 + adapter = netdev_priv(poll_dev);
9
10 /* iegbe_clean is called per-cpu. This lock protects
11 * tx_ring[0] from being cleaned by multiple cpus