diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-08-27 05:00:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-27 16:55:50 +0300 |
commit | fcba68bd75bb1d42b3aec7f471d382a9e639a672 (patch) | |
tree | c644f0420a77433594514771b443f893dd40ae95 /drivers/net/phy/sfp.c | |
parent | 2fa4e4b799e191530edbae4b96b85d4486e55053 (diff) | |
download | linux-fcba68bd75bb1d42b3aec7f471d382a9e639a672.tar.xz |
net/phy/mdio-i2c: Move header file to include/linux/mdio
In preparation for moving all MDIO drivers into drivers/net/mdio, move
the mdio-i2c header file into include/linux/mdio so it can be used by
both the MDIO driver and the SFP code which instantiates I2C MDIO
busses.
v2:
Add 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>
Diffstat (limited to 'drivers/net/phy/sfp.c')
-rw-r--r-- | drivers/net/phy/sfp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c index c24b0e83dd32..5250dcdf46a4 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c @@ -7,6 +7,7 @@ #include <linux/i2c.h> #include <linux/interrupt.h> #include <linux/jiffies.h> +#include <linux/mdio/mdio-i2c.h> #include <linux/module.h> #include <linux/mutex.h> #include <linux/of.h> @@ -16,7 +17,6 @@ #include <linux/slab.h> #include <linux/workqueue.h> -#include "mdio-i2c.h" #include "sfp.h" #include "swphy.h" |