Thread (1 message) 1 message, 1 author, 2017-01-31

Re: [PATCH 4.10-rc3 08/13] net: emac: fix build errors when linux/phy*.h is removed from net/dsa.h

From: Timur Tabi <hidden>
Date: 2017-01-31 20:15:50
Also in: linux-mips, linux-nfs, linux-scsi, netdev

On 01/31/2017 01:19 PM, Russell King wrote:
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c:58:12: error: dereferencing pointer to incomplete type 'struct phy_device'

Add linux/phy.h to emac-sgmii.c

Signed-off-by: Russell King <redacted>
---
 drivers/net/ethernet/qualcomm/emac/emac-sgmii.c | 1 +
The version of emac-sgmii.c on net-next does not need this fixed.  I already removed all references to phy_device in commit "net: qcom/emac: always use autonegotiation to configure the SGMII link".

-- 
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc.  Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help