mvebu: fix mvneta build with Linux 4.4.110
authorJo-Philipp Wich <jo@mein.io>
Mon, 8 Jan 2018 13:35:21 +0000 (14:35 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 8 Jan 2018 13:35:21 +0000 (14:35 +0100)
commit7bc25dfa63c084298edcc8bf5c5cdf258229d24a
tree1ad69f451028e3b39c5b0412f92cff19216b961a
parent541a1a7ff5ce9ef7a5660e483635ecd0892137dc
mvebu: fix mvneta build with Linux 4.4.110

Kernel 4.4.109 added pp->link, pp->duplex and pp->speed setters to
mvneta_port_disable() which the mvneta patchset failed to patch out after
rebasing, leading to the following build error:

      CC      drivers/net/ethernet/marvell/mvneta.o
    drivers/net/ethernet/marvell/mvneta.c: In function 'mvneta_port_disable':
    drivers/net/ethernet/marvell/mvneta.c:1199:4: error: 'struct mvneta_port' has no member named 'link'
      pp->link = 0;
        ^
    drivers/net/ethernet/marvell/mvneta.c:1200:4: error: 'struct mvneta_port' has no member named 'duplex'
      pp->duplex = -1;
        ^
    drivers/net/ethernet/marvell/mvneta.c:1201:4: error: 'struct mvneta_port' has no member named 'speed'
      pp->speed = 0;
        ^

Fix the issue by rebasing 134-net-mvneta-convert-to-phylink.patch to remove
these struct member accesses as well.

Fixes: 7f5a040359 ("kernel: update kernel 4.4 to version 4.4.110")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
target/linux/mvebu/patches-4.4/134-net-mvneta-convert-to-phylink.patch
target/linux/mvebu/patches-4.4/137-net-mvneta-add-nway_reset-support.patch
target/linux/mvebu/patches-4.4/139-net-mvneta-add-flow-control-support-via-phylink.patch
target/linux/mvebu/patches-4.4/140-net-mvneta-enable-flow-control-for-PHY-connections.patch
target/linux/mvebu/patches-4.4/141-net-mvneta-enable-flow-control-for-fixed-connections.patch
target/linux/mvebu/patches-4.4/143-net-mvneta-add-EEE-support.patch
target/linux/mvebu/patches-4.4/145-net-mvneta-add-module-EEPROM-reading-support.patch
target/linux/mvebu/patches-4.4/147-net-mvneta-add-BQL-support.patch
target/linux/mvebu/patches-4.4/400-mvneta-tx-queue-workaround.patch