]> git.baikalelectronics.ru Git - kernel.git/commit
net: xgene: Move shared header file into include/linux
authorAndrew Lunn <andrew@lunn.ch>
Thu, 27 Aug 2020 02:00:30 +0000 (04:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2020 13:55:50 +0000 (06:55 -0700)
commitfea6d3563e07a495eb3f987a2c1bd0da28e8eaa6
treea97546f38333a9cead791193e6cdf0f8711fad11
parent879a00d2b32cf39e1673406598151de277a71cc8
net: xgene: Move shared header file into include/linux

This header file is currently included into the ethernet driver via a
relative path into the PHY subsystem. This is bad practice, and causes
issues for the upcoming move of the MDIO driver. Move the header file
into include/linux to clean this up.

v2:
Move header to include/linux/mdio

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_main.h
drivers/net/phy/mdio-xgene.c
drivers/net/phy/mdio-xgene.h [deleted file]
include/linux/mdio/mdio-xgene.h [new file with mode: 0644]