#22112: b53_phy_fixup.c fails to compile under kernel 4.5
------------------------+------------------------
Reporter: mo.ucina@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: kernel | Version: Trunk
Keywords: |
------------------------+------------------------
In kernel 4.5 b53_phy_fixup.c fails to compile with following errors :
drivers/net/phy/b53/b53_phy_fixup.c: In function 'b53_phy_fixup':
drivers/net/phy/b53/b53_phy_fixup.c:32:27: error: 'struct phy_device' has
no member named 'bus'
struct mii_bus *bus = dev->bus;
^
drivers/net/phy/b53/b53_phy_fixup.c:34:9: error: 'struct phy_device' has
no member named 'addr'
if (dev->addr != B53_PSEUDO_PHY)
^
scripts/Makefile.build:258: recipe for target
'drivers/net/phy/b53/b53_phy_fixup.o' failed
make[4]: *** [drivers/net/phy/b53/b53_phy_fixup.o] Error 1
scripts/Makefile.build:407: recipe for target 'drivers/net/phy/b53' failed
make[3]: *** [drivers/net/phy/b53] Error 2
scripts/Makefile.build:407: recipe for target 'drivers/net/phy' failed
make[2]: *** [drivers/net/phy] Error 2
scripts/Makefile.build:407: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:954: recipe for target 'drivers' failed
make: *** [drivers] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.47Zx5K (%build)
--
Ticket URL: <https://dev.openwrt.org/ticket/22112>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets